##// END OF EJS Templates
Let %autoreload work on modules with frozen dataclasses...
Let %autoreload work on modules with frozen dataclasses See Issue #12411 and Issue #12185. The problem is that a frozen `dataclasses.dataclass` overrides the `__setattr__()` method, so updating its `__class__` member requires going through the base `object` class. This seems to fix the problem.

File last commit:

r26883:c8142425
r27716:becb905f
Show More
.pre-commit-config.yaml
16 lines | 409 B | text/x-yaml | YamlLexer
/ .pre-commit-config.yaml
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/akaihola/darker
rev: 1.3.1
hooks:
- id: darker