Skip to content

Commit b3d2537

Browse files
committed
clean up config
1 parent ae883ec commit b3d2537

File tree

5 files changed

+24
-68
lines changed

5 files changed

+24
-68
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Lint code
2323
run: |
2424
pip install -c requirements.txt -r requirements-lint.txt
25-
mypy .
25+
mypy
2626
ruff check
2727
ruff format
2828

pyproject.toml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
11
[tool.mypy]
2+
warn_unused_configs = true
3+
ignore_missing_imports = false
4+
disallow_untyped_defs = true
5+
disallow_incomplete_defs = true
6+
no_implicit_optional = true
7+
strict_equality = true
8+
warn_unreachable = true
9+
warn_unused_ignores = true
10+
show_error_context = true
11+
pretty = true
12+
check_untyped_defs = true
13+
python_version = "3.12"
14+
files = [
15+
"tasktiger"
16+
]
17+
18+
[[tool.mypy.overrides]]
19+
module = ["flask_script.*", "rollbar.*", "structlog.*"]
220
ignore_missing_imports = true
3-
follow_imports = "skip"
21+
22+
[tool.pytest.ini_options]
23+
testpaths = ["tests"]

requirements-lint.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
mypy==1.19.0
22
ruff==0.14.7
33
types-redis
4+
types-click

setup.cfg

Lines changed: 0 additions & 65 deletions
This file was deleted.

tasktiger/_internal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,5 +202,5 @@ class classproperty(property):
202202
Works like @property but on classes.
203203
"""
204204

205-
def __get__(desc, self, cls): # type:ignore[no-untyped-def]
205+
def __get__(desc, self, cls): # type:ignore[no-untyped-def,override]
206206
return desc.fget(cls) # type:ignore[misc]

0 commit comments

Comments
 (0)