@@ -9,7 +9,7 @@ select = [
9
9
" SIM101" ,
10
10
]
11
11
12
- # Ignore rules that currently fail on the SymPy codebase
12
+ # Ignore rules that currently fail on the SymPy Benchmark codebase
13
13
ignore = [
14
14
" E401" , # Multiple imports on one line
15
15
" E402" , # Module level import not at top of file
@@ -37,42 +37,14 @@ ignore = [
37
37
" F841" , # Local variable `VARIABLE` is assigned to but never used
38
38
]
39
39
40
- # Exclude paths currently excluded in the flake8 configuration
41
- exclude = [
42
- " sympy/assumptions/*generated.py" ,
43
- " sympy/core/*_generated.py" ,
44
- " sympy/parsing/latex/_antlr/*" ,
45
- " sympy/parsing/autolev/_antlr/*" ,
46
- " sympy/parsing/autolev/test-examples/*" ,
47
- " sympy/integrals/rubi/*" ,
48
- ]
49
-
50
40
# Black default, although irrelevant with E501 ignored
51
41
line-length = 88
52
42
53
43
# Allow unused variables when underscore-prefixed.
54
44
dummy-variable-rgx = " ^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
55
45
56
- # Per-file ignores currently specified in the flake8 configuration
57
- [tool .ruff .per-file-ignores ]
58
- "sympy/interactive/session.py" = [" F821" ]
59
-
60
46
# Global mypy settings:
61
47
[tool .mypy ]
62
- warn_unused_configs = true
63
- exclude = [
64
- " sympy/parsing/autolev/test-examples" ,
65
- ]
66
-
67
- # Per module settings:
68
- [[tool .mypy .overrides ]]
69
- module = [
70
- " sympy.parsing.latex._antlr.*" ,
71
- " sympy.parsing.autolev._antlr.*" ,
72
- " sympy.benchmarks.*" ,
73
- " sympy.plotting.pygletplot.*" ,
74
- ]
75
- ignore_errors = true
76
48
77
49
# Third-party untyped code:
78
50
[[tool .mypy .overrides ]]
0 commit comments