@@ -5,12 +5,20 @@ readme = "README.md"
55requires-python = " >=3.10"
66license-files = [" LICENSE" ]
77classifiers = [
8+ " Development Status :: 3 - Alpha" ,
9+ " Intended Audience :: Developers" ,
10+ " License :: OSI Approved :: MIT License" ,
811 " Programming Language :: Python :: Implementation :: CPython" ,
912 " Programming Language :: Python :: Implementation :: PyPy" ,
1013 " Programming Language :: Rust" ,
14+ " Topic :: System :: Networking" ,
1115]
1216dynamic = [" version" ]
1317
18+ [[project .authors ]]
19+ name = " Pavel Kirilin"
20+ email = " s3riussan@gmail.com"
21+
1422[dependency-groups ]
1523dev = [
1624 " anyio>=4,<5" ,
@@ -28,23 +36,21 @@ features = ["pyo3/extension-module"]
2836module-name = " natsrpy._inner"
2937python-source = " python"
3038
31- [tool .pytest ]
32- anyio_mode = " auto"
33-
3439[tool .mypy ]
3540python_version = " 3.10"
3641strict = true
3742ignore_missing_imports = true
38- allow_subclassing_any = true
39- allow_untyped_calls = true
40- packages = [" taskiq_nats" ]
43+ packages = [" natsrpy" ]
4144pretty = true
4245implicit_reexport = true
4346allow_untyped_decorators = true
4447warn_return_any = false
4548
49+ [tool .pytest ]
50+ anyio_mode = " auto"
51+
4652[tool .ruff ]
47- target-version = " py310"
53+ target-version = " py310"
4854exclude = [" .venv/" ]
4955line-length = 88
5056
@@ -53,54 +59,54 @@ mccabe = { max-complexity = 10 }
5359# List of enabled rulsets.
5460# See https://docs.astral.sh/ruff/rules/ for more information.
5561select = [
56- " E" , # Error
57- " F" , # Pyflakes
58- " W" , # Pycodestyle
59- " C90" , # McCabe complexity
60- " I" , # Isort
61- " N" , # pep8-naming
62- " D" , # Pydocstyle
63- " ANN" , # Pytype annotations
64- " S" , # Bandit
65- " B" , # Bugbear
66- " COM" , # Commas
67- " C4" , # Comprehensions
68- " ISC" , # Implicit string concat
69- " PIE" , # Unnecessary code
70- " T20" , # Catch prints
71- " PYI" , # validate pyi files
72- " Q" , # Checks for quotes
73- " RSE" , # Checks raise statements
74- " RET" , # Checks return statements
75- " SLF" , # Self checks
76- " SIM" , # Simplificator
77- " PTH" , # Pathlib checks
78- " ERA" , # Checks for commented out code
79- " PL" , # PyLint checks
80- " RUF" , # Specific to Ruff checks
81- " UP" , # Pyupgrade
62+ " E" , # Error
63+ " F" , # Pyflakes
64+ " W" , # Pycodestyle
65+ " C90" , # McCabe complexity
66+ " I" , # Isort
67+ " N" , # pep8-naming
68+ " D" , # Pydocstyle
69+ " ANN" , # Pytype annotations
70+ " S" , # Bandit
71+ " B" , # Bugbear
72+ " COM" , # Commas
73+ " C4" , # Comprehensions
74+ " ISC" , # Implicit string concat
75+ " PIE" , # Unnecessary code
76+ " T20" , # Catch prints
77+ " PYI" , # validate pyi files
78+ " Q" , # Checks for quotes
79+ " RSE" , # Checks raise statements
80+ " RET" , # Checks return statements
81+ " SLF" , # Self checks
82+ " SIM" , # Simplificator
83+ " PTH" , # Pathlib checks
84+ " ERA" , # Checks for commented out code
85+ " PL" , # PyLint checks
86+ " RUF" , # Specific to Ruff checks
87+ " UP" , # Pyupgrade
8288]
8389ignore = [
84- " D105" , # Missing docstring in magic method
85- " D107" , # Missing docstring in __init__
86- " D212" , # Multi-line docstring summary should start at the first line
87- " D401" , # First line should be in imperative mood
88- " D104" , # Missing docstring in public package
89- " D100" , # Missing docstring in public module
90- " ANN401" , # typing.Any are disallowed in `**kwargs
91- " PLR0913" , # Too many arguments for function call
92- " D106" , # Missing docstring in public nested class
93- " PYI021" , # Docstrings should not be included in stubs
90+ " D105" , # Missing docstring in magic method
91+ " D107" , # Missing docstring in __init__
92+ " D212" , # Multi-line docstring summary should start at the first line
93+ " D401" , # First line should be in imperative mood
94+ " D104" , # Missing docstring in public package
95+ " D100" , # Missing docstring in public module
96+ " ANN401" , # typing.Any are disallowed in `**kwargs
97+ " PLR0913" , # Too many arguments for function call
98+ " D106" , # Missing docstring in public nested class
99+ " PYI021" , # Docstrings should not be included in stubs
94100]
95101
96102[tool .ruff .lint .per-file-ignores ]
97103"python/tests/*" = [
98- " S101" , # Use of assert detected
99- " S301" , # Use of pickle detected
100- " D103" , # Missing docstring in public function
101- " SLF001" , # Private member accessed
102- " S311" , # Standard pseudo-random generators are not suitable for security/cryptographic purposes
103- " D101" , # Missing docstring in public class
104+ " S101" , # Use of assert detected
105+ " S301" , # Use of pickle detected
106+ " D103" , # Missing docstring in public function
107+ " SLF001" , # Private member accessed
108+ " S311" , # Standard pseudo-random generators are not suitable for security/cryptographic purposes
109+ " D101" , # Missing docstring in public class
104110]
105111
106112[tool .ruff .lint .pydocstyle ]
0 commit comments