File tree Expand file tree Collapse file tree 3 files changed +22
-21
lines changed Expand file tree Collapse file tree 3 files changed +22
-21
lines changed Original file line number Diff line number Diff 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
1314install : # # 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
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -90,3 +90,22 @@ ignore = [
9090
9191[tool .ruff .isort ]
9292known-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
You can’t perform that action at this time.
0 commit comments