Skip to content

Commit 7d59cd6

Browse files
committed
Move mypy config to pyproject
1 parent ed39bc0 commit 7d59cd6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ repos:
2525
rev: v1.2.0
2626
hooks:
2727
- id: mypy
28-
args: ["--disallow-incomplete-defs", "--ignore-missing-imports"]
2928

3029
- repo: https://github.com/charliermarsh/ruff-pre-commit
3130
# Ruff version.

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ profile = "black"
1414
line_length = 79
1515

1616
[tool.ruff]
17-
1817
target-version = "py38"
1918
select = ["I", "UP", "F", "E", "W"]
2019
fix = true
20+
21+
[tool.mypy]
22+
disallow_incomplete_defs = true
23+
ignore_missing_imports = true

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy