@@ -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-throttler"
1818classifiers = [
@@ -29,7 +29,6 @@ classifiers = [
2929 " Intended Audience :: Developers" ,
3030 " License :: OSI Approved :: MIT License" ,
3131 " Programming Language :: Python :: 3" ,
32- " Programming Language :: Python :: 3.7" ,
3332 " Programming Language :: Python :: 3.8" ,
3433 " Programming Language :: Python :: 3.9" ,
3534 " Programming Language :: Python :: 3.10" ,
@@ -54,13 +53,33 @@ Homepage = "https://eadwincode.github.io/ellar-throttler/"
5453test = [
5554 " pytest >= 7.1.3,<8.0.0" ,
5655 " pytest-cov >= 2.12.0,<5.0.0" ,
57- " mypy == 0.971 " ,
58- " flake8 >= 3.8.3,<7. 0.0" ,
56+ " mypy == 1.4.1 " ,
57+ " ruff == 0.0.275 " ,
5958 " black ==22.8.0" ,
60- " isort >=5.0.6,<6.0.0" ,
6159 " pytest-asyncio" ,
6260 " autoflake" ,
6361]
6462dev = [
6563 " pre-commit"
6664]
65+
66+ [tool .ruff ]
67+ select = [
68+ " E" , # pycodestyle errors
69+ " W" , # pycodestyle warnings
70+ " F" , # pyflakes
71+ " I" , # isort
72+ " C" , # flake8-comprehensions
73+ " B" , # flake8-bugbear
74+ ]
75+ ignore = [
76+ " E501" , # line too long, handled by black
77+ " B008" , # do not perform function calls in argument defaults
78+ " C901" , # too complex
79+ ]
80+
81+ [tool .ruff .per-file-ignores ]
82+ "__init__.py" = [" F401" ]
83+
84+ [tool .ruff .isort ]
85+ known-third-party = [" ellar" ,]
0 commit comments