Skip to content

Commit 0d2dbe3

Browse files
committed
Add more feature requests to README.md
1 parent 2d5014a commit 0d2dbe3

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,27 @@ code base is implemented in.
123123
- [ ] --ignore-definitions-if-decorated-with
124124
- [ ] --ignore-names-if-inherits-from
125125
- [ ] --ignore-names-if-decorated-with
126+
- [ ] --ignore-bodies-of
127+
- [ ] --ignore-bodies-if-decorated-with
128+
- [ ] --ignore-bodies-if-inherits-from
129+
- [ ] --ignore-definitions
130+
- [ ] --ignore-definitions-if-inherits-from
131+
- [ ] --ignore-definitions-if-decorated-with
132+
- Question: would it be possible to ignore only certain types of checks for a body, e.g. only variable attributes of TypedDict and still check usage of methods and properties?
133+
- What expression would allow this type of precission?
126134
- [ ] Distinguish between definitions with same name, but different files.
127135
- [ ] Repeated application of `deadcode` till the output stops changing.
128-
- [ ] Unreachable code detection and fixing.
136+
- [ ] Unreachable code detection and fixing: this should only be scoped for if statements and only limited to primitive variables.
129137
- [ ] `--fix --dry [filenames]` - only show whats about to change in the listed filenames.
130138
- [ ] Benchmarking performance with larger projects (time, CPU and memory consumption) in order to optimize.
139+
- [ ] `--fix` could accept a list of filenames as well (only those files would be changed, but the summary could would be full).
140+
(This might be confusing, because filenames, which have to be considered are provided without any flag, --fix is expected to not accept arguments)
141+
- [ ] pre-commit-hook.
142+
- [ ] language server.
143+
- [ ] Use only two digits for error codes instead of 3. Two is plenty and it simplifies usage a bit
144+
- [ ] DC10: remove code after terminal statements like `raise`, `return`, `break`, `continue` and comes in the same scope.
145+
- [ ] Add `ignore` and `per-file-ignores` command line and pyproject.toml options, which allows to skip some rules.
146+
- [ ] Make sure that all rules are being skipped by `noqa` comment and all rules react to `noqa: rule_id` comments.
147+
- [ ] Include package names into code item scope (dot-separated path), e.g. "package1.package2.module.class.method.variable".
148+
- [ ] All options should be able to accept dot-separated path or a generic name, e.g. "marshmallow.Schema" vs "Schema",
149+
documentation should cleary demonstrate the behaviour/example that "Schema" means "*.Schema".

0 commit comments

Comments
 (0)