@@ -156,17 +156,23 @@ code base is implemented in.
156
156
- [ ] Distinguish between definitions with same name, but different files.
157
157
- [ ] Repeated application of ` deadcode ` till the output stops changing.
158
158
- [ ] Unreachable code detection and fixing: this should only be scoped for if statements and only limited to primitive variables.
159
- - [ ] ` --fix --dry [filenames] ` - only show whats about to change in the listed filenames.
159
+ - [x ] ` --fix --dry [filenames] ` - only show whats about to change in the listed filenames.
160
160
- [ ] Benchmarking performance with larger projects (time, CPU and memory consumption) in order to optimize.
161
161
- [ ] ` --fix ` could accept a list of filenames as well (only those files would be changed, but the summary could would be full).
162
162
(This might be confusing, because filenames, which have to be considered are provided without any flag, --fix is expected to not accept arguments)
163
163
- [ ] pre-commit-hook.
164
164
- [ ] language server.
165
- - [ ] Use only two digits for error codes instead of 3. Two is plenty and it simplifies usage a bit
165
+ - [x ] Use only two digits for error codes instead of 3. Two is plenty and it simplifies usage a bit
166
166
- [ ] DC10: remove code after terminal statements like ` raise ` , ` return ` , ` break ` , ` continue ` and comes in the same scope.
167
167
- [ ] Add ` ignore ` and ` per-file-ignores ` command line and pyproject.toml options, which allows to skip some rules.
168
168
- [ ] Make sure that all rules are being skipped by ` noqa ` comment and all rules react to ` noqa: rule_id ` comments.
169
169
- [ ] Include package names into code item scope (dot-separated path), e.g. "package1.package2.module.class.method.variable".
170
170
- [ ] All options should be able to accept dot-separated path or a generic name, e.g. "marshmallow.Schema" vs "Schema",
171
171
documentation should cleary demonstrate the behaviour/example that "Schema" means "* .Schema".
172
172
- [ ] Redefinition of an existing name makes previous name unreachable, unless it is assigned somehow.
173
+ - [ ] Check if file is still valid/parsable after automatic fixing, if not: halt the change and report error.
174
+
175
+ ## Release notes
176
+ - v2.3.0:
177
+ - Added ` --dry ` option.
178
+ - Updated error codes from DCXXX to DCXX.
0 commit comments