refactor: pyproject.toml
Browse files- .pre-commit-config.yaml +0 -4
- pyproject.toml +4 -6
.pre-commit-config.yaml
CHANGED
|
@@ -35,7 +35,6 @@ repos:
|
|
| 35 |
- id: detect-aws-credentials
|
| 36 |
args: ["--allow-missing-credentials"]
|
| 37 |
- id: detect-private-key
|
| 38 |
-
- id: end-of-file-fixer
|
| 39 |
- id: check-added-large-files
|
| 40 |
- id: check-ast
|
| 41 |
- id: check-byte-order-marker
|
|
@@ -43,9 +42,6 @@ repos:
|
|
| 43 |
- id: check-docstring-first
|
| 44 |
- id: check-json
|
| 45 |
- id: debug-statements
|
| 46 |
-
- id: detect-private-key
|
| 47 |
-
- id: end-of-file-fixer
|
| 48 |
-
- id: trailing-whitespace
|
| 49 |
- id: mixed-line-ending
|
| 50 |
- repo: https://github.com/myint/autoflake
|
| 51 |
rev: v2.2.1
|
|
|
|
| 35 |
- id: detect-aws-credentials
|
| 36 |
args: ["--allow-missing-credentials"]
|
| 37 |
- id: detect-private-key
|
|
|
|
| 38 |
- id: check-added-large-files
|
| 39 |
- id: check-ast
|
| 40 |
- id: check-byte-order-marker
|
|
|
|
| 42 |
- id: check-docstring-first
|
| 43 |
- id: check-json
|
| 44 |
- id: debug-statements
|
|
|
|
|
|
|
|
|
|
| 45 |
- id: mixed-line-ending
|
| 46 |
- repo: https://github.com/myint/autoflake
|
| 47 |
rev: v2.2.1
|
pyproject.toml
CHANGED
|
@@ -64,14 +64,12 @@ multi_line_output = 3
|
|
| 64 |
line_length = 88
|
| 65 |
|
| 66 |
[tool.mypy]
|
| 67 |
-
python_version = "3.12"
|
| 68 |
warn_return_any = true
|
| 69 |
warn_unused_configs = true
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
ignore_missing_imports = true
|
| 74 |
-
follow_imports = "silent"
|
| 75 |
|
| 76 |
|
| 77 |
[tool.pytest.ini_options]
|
|
|
|
| 64 |
line_length = 88
|
| 65 |
|
| 66 |
[tool.mypy]
|
| 67 |
+
python_version = ">=3.12"
|
| 68 |
warn_return_any = true
|
| 69 |
warn_unused_configs = true
|
| 70 |
+
exclude = ["tests/.*"]
|
| 71 |
+
|
| 72 |
+
|
|
|
|
|
|
|
| 73 |
|
| 74 |
|
| 75 |
[tool.pytest.ini_options]
|