Skip to content

Commit 25c9142

Browse files
committed
fixed failing tests
1 parent 0aa4118 commit 25c9142

File tree

3 files changed

+22
-21
lines changed

3 files changed

+22
-21
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ clean: ## Removing cached python compiled files
99
find . -name \*pyo | xargs rm -fv
1010
find . -name \*~ | xargs rm -fv
1111
find . -name __pycache__ | xargs rm -rfv
12+
find . -name .ruff_cache | xargs rm -rfv
1213

1314
install: ## Install dependencies
1415
flit install --deps develop --symlink
@@ -17,11 +18,11 @@ install-full: ## Install dependencies
1718
make install
1819
pre-commit install -f
1920

20-
lint: ## Run code linters
21+
lint:fmt ## Run code linters
2122
ruff check ellar_jwt tests
2223
mypy ellar_jwt
2324

24-
fmt format: ## Run code formatters
25+
fmt format:clean ## Run code formatters
2526
ruff format ellar_jwt tests
2627
ruff check --fix ellar_jwt tests
2728

mypy.ini

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

pyproject.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,22 @@ ignore = [
9090

9191
[tool.ruff.isort]
9292
known-third-party = ["ellar"]
93+
94+
[tool.mypy]
95+
96+
show_column_numbers = true
97+
98+
follow_imports = 'normal'
99+
ignore_missing_imports = true
100+
101+
# be strict
102+
disallow_untyped_calls = true
103+
warn_return_any = true
104+
strict_optional = true
105+
warn_no_return = true
106+
warn_redundant_casts = true
107+
warn_unused_ignores = true
108+
109+
disallow_untyped_defs = true
110+
check_untyped_defs = true
111+
implicit_reexport = false

0 commit comments

Comments
 (0)