@@ -11,23 +11,31 @@ authors = [{name = "Britive Inc.", email = "support@britive.com"}]
1111description = " A pure Python CLI for Britive"
1212readme = " README.md"
1313classifiers = [
14- " Programming Language :: Python :: 3" ,
1514 " License :: OSI Approved :: MIT License" ,
16- " Operating System :: OS Independent"
15+ " Operating System :: OS Independent" ,
16+ " Programming Language :: Python" ,
17+ " Programming Language :: Python :: 3.8" ,
18+ " Programming Language :: Python :: 3.9" ,
19+ " Programming Language :: Python :: 3.10" ,
20+ " Programming Language :: Python :: 3.11" ,
21+ " Programming Language :: Python :: 3.12" ,
22+ " Topic :: Internet" ,
23+ " Topic :: Security" ,
24+ " Topic :: Utilities" ,
1725]
1826license = {file = " LICENSE" }
19- requires-python = " >= 3.7 "
27+ requires-python = " >= 3.8 "
2028dependencies = [
21- " britive>=2.25.0" ,
22- " click" ,
23- " cryptography>=41.0.0" ,
29+ " britive>=3.0.0" ,
30+ " click>=8.1.7" ,
31+ " colored" ,
32+ " cryptography" ,
2433 " jmespath" ,
2534 " merge-args" ,
2635 " pyjwt" ,
2736 " python-dateutil" ,
2837 " PyYAML" ,
2938 " requests>=2.31.0" ,
30- " setuptools; python_version >= '3.12'" ,
3139 " tabulate" ,
3240 " toml"
3341]
@@ -63,10 +71,28 @@ where = ["src"]
6371plugins.md013.line_length = 120
6472plugins.md013.code_block_line_length = 120
6573
66- [tool .black ]
74+ [tool .ruff ]
75+ include = [" pyproject.toml" , " src/**/*.py" , " tests/*.py" ]
6776line-length = 120
68- skip-string-normalization = true
6977
70- [tool .pylint ]
71- max-line-length = 120
72- disable = " C0114,C0116,E0401"
78+ [tool .ruff .format ]
79+ quote-style = " single"
80+ indent-style = " space"
81+ skip-magic-trailing-comma = false
82+ line-ending = " auto"
83+
84+ [tool .ruff .lint ]
85+ select = [
86+ " E" , # pycodestyle
87+ " F" , # Pyflakes
88+ " I" , # isort
89+ " PL" , # pylint
90+ " SIM" , # flake8-simplify
91+ ]
92+
93+ [tool .ruff .lint .pylint ]
94+ allow-magic-value-types = [" int" , " str" ]
95+ max-args = 16
96+ max-branches = 30
97+ max-returns = 8
98+ max-statements = 72
0 commit comments