You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -123,8 +123,27 @@ code base is implemented in.
123
123
-[ ] --ignore-definitions-if-decorated-with
124
124
-[ ] --ignore-names-if-inherits-from
125
125
-[ ] --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?
126
134
-[ ] Distinguish between definitions with same name, but different files.
127
135
-[ ] 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.
129
137
-[ ]`--fix --dry [filenames]` - only show whats about to change in the listed filenames.
130
138
-[ ] 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