Skip to content

Commit 1c1ff40

Browse files
committed
Add release notes for v2.3.0
1 parent 9e55a91 commit 1c1ff40

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,23 @@ code base is implemented in.
156156
- [ ] Distinguish between definitions with same name, but different files.
157157
- [ ] Repeated application of `deadcode` till the output stops changing.
158158
- [ ] 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.
160160
- [ ] Benchmarking performance with larger projects (time, CPU and memory consumption) in order to optimize.
161161
- [ ] `--fix` could accept a list of filenames as well (only those files would be changed, but the summary could would be full).
162162
(This might be confusing, because filenames, which have to be considered are provided without any flag, --fix is expected to not accept arguments)
163163
- [ ] pre-commit-hook.
164164
- [ ] 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
166166
- [ ] DC10: remove code after terminal statements like `raise`, `return`, `break`, `continue` and comes in the same scope.
167167
- [ ] Add `ignore` and `per-file-ignores` command line and pyproject.toml options, which allows to skip some rules.
168168
- [ ] Make sure that all rules are being skipped by `noqa` comment and all rules react to `noqa: rule_id` comments.
169169
- [ ] Include package names into code item scope (dot-separated path), e.g. "package1.package2.module.class.method.variable".
170170
- [ ] All options should be able to accept dot-separated path or a generic name, e.g. "marshmallow.Schema" vs "Schema",
171171
documentation should cleary demonstrate the behaviour/example that "Schema" means "*.Schema".
172172
- [ ] 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

Comments
 (0)