@@ -12,7 +12,7 @@ authors = [
1212 {
name =
" Ezeudoh Tochukwu" ,
email =
" [email protected] " },
1313]
1414dynamic = [" version" , " description" ]
15- requires-python = " >=3.7 "
15+ requires-python = " >=3.8 "
1616readme = " README.md"
1717home-page = " https://github.com/eadwinCode/ellar-django-module"
1818classifiers = [
@@ -62,13 +62,33 @@ test = [
6262 " pytest >= 7.1.3,<8.0.0" ,
6363 " pytest-django" ,
6464 " pytest-cov >= 2.12.0,<5.0.0" ,
65- " mypy == 0.971 " ,
66- " flake8 >= 3.8.3,<7. 0.0" ,
65+ " mypy == 1.4.1 " ,
66+ " ruff == 0.0.275 " ,
6767 " black == 22.8.0" ,
68- " isort >= 5.0.6,<6.0.0" ,
6968 " pytest-asyncio" ,
7069 " autoflake" ,
7170]
7271dev = [
7372 " pre-commit"
7473]
74+
75+ [tool .ruff ]
76+ select = [
77+ " E" , # pycodestyle errors
78+ " W" , # pycodestyle warnings
79+ " F" , # pyflakes
80+ " I" , # isort
81+ " C" , # flake8-comprehensions
82+ " B" , # flake8-bugbear
83+ ]
84+ ignore = [
85+ " E501" , # line too long, handled by black
86+ " B008" , # do not perform function calls in argument defaults
87+ " C901" , # too complex
88+ ]
89+
90+ [tool .ruff .per-file-ignores ]
91+ "__init__.py" = [" F401" ]
92+
93+ [tool .ruff .isort ]
94+ known-third-party = [" ellar" , " Django" ]
0 commit comments