Skip to content

Commit 8d41012

Browse files
Lukas MollemanLukas Molleman
authored andcommitted
Removed SymPy specific stuff
1 parent b915ed4 commit 8d41012

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

.github/workflows/runtests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ jobs:
4545
- run: python -m pip install --upgrade pip
4646
- run: pip install mpmath mypy
4747

48-
- name: Run mypy on the sympy package
48+
- name: Run mypy on the sympy benchmark package
4949
run: mypy benchmarks slow_benchmarks

pyproject.toml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ select = [
99
"SIM101",
1010
]
1111

12-
# Ignore rules that currently fail on the SymPy codebase
12+
# Ignore rules that currently fail on the SymPy Benchmark codebase
1313
ignore = [
1414
"E401", # Multiple imports on one line
1515
"E402", # Module level import not at top of file
@@ -37,42 +37,14 @@ ignore = [
3737
"F841", # Local variable `VARIABLE` is assigned to but never used
3838
]
3939

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-
5040
# Black default, although irrelevant with E501 ignored
5141
line-length = 88
5242

5343
# Allow unused variables when underscore-prefixed.
5444
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
5545

56-
# Per-file ignores currently specified in the flake8 configuration
57-
[tool.ruff.per-file-ignores]
58-
"sympy/interactive/session.py" = ["F821"]
59-
6046
# Global mypy settings:
6147
[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
7648

7749
# Third-party untyped code:
7850
[[tool.mypy.overrides]]

0 commit comments

Comments
 (0)