@@ -9,7 +9,7 @@ description = "A simple asyncio.Protocol implementation designed for IRC"
99readme = " README.md"
1010license = " MIT"
1111requires-python = " >=3.10"
12- authors = [{
name =
" linuxdaemon" ,
email =
" [email protected] " }]
12+ authors = [{
name =
" linuxdaemon" ,
email =
" [email protected] " }]
1313keywords = [" async-irc" , " asyncio" , " asyncirc" , " irc" , " irc-framework" ]
1414classifiers = [
1515 " Development Status :: 3 - Alpha" ,
@@ -46,45 +46,42 @@ dependencies = [
4646 " pre-commit==4.3.0" ,
4747 " mypy==1.18.2" ,
4848]
49- post-install-commands = [
50- " hatch run pre-commit:install"
51- ]
49+ post-install-commands = [" hatch run pre-commit:install" ]
5250
5351[tool .hatch .envs .hatch-test ]
5452post-install-commands = []
5553default-args = [" tests" , " asyncirc" ]
5654extra-args = [" -vv" , " --junitxml=junit.xml" ]
5755extra-dependencies = [" pytest-asyncio==1.2.0" ]
56+
5857[tool .hatch .envs .hatch-test .scripts ]
5958run = " pytest{env:HATCH_TEST_ARGS:} {args}"
6059run-cov = " coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
6160cov-combine = " coverage combine"
6261cov-report = [" coverage report --show-missing --skip-covered" , " coverage xml" ]
6362
63+ [[tool .hatch .envs .hatch-test .matrix ]]
64+ python = [" 3.14" , " 3.13" , " 3.12" , " 3.11" , " 3.10" ]
65+
6466[tool .hatch .envs .hatch-static-analysis ]
6567post-install-commands = []
6668
6769[tool .hatch .envs .hatch-build ]
6870post-install-commands = []
6971
70- [[tool .hatch .envs .hatch-test .matrix ]]
71- python = [" 3.14" , " 3.13" , " 3.12" , " 3.11" , " 3.10" ]
72-
7372[tool .hatch .envs .pre-commit ]
74- extra-dependencies = [
75- " pre-commit==4.3.0" ,
76- ]
73+ extra-dependencies = [" pre-commit==4.3.0" ]
7774post-install-commands = []
75+
7876[tool .hatch .envs .pre-commit .scripts ]
7977run = " pre-commit run {args:--all}"
8078install = " pre-commit install -f"
8179
8280[tool .hatch .envs .types ]
8381template = " hatch-test"
84- extra-dependencies = [
85- " mypy==1.18.2" ,
86- ]
82+ extra-dependencies = [" mypy==1.18.2" ]
8783post-install-commands = []
84+
8885[tool .hatch .envs .types .scripts ]
8986check = " mypy {args:asyncirc tests}"
9087
@@ -138,11 +135,11 @@ select = ["ALL"]
138135[tool .ruff .lint .per-file-ignores ]
139136"tests/*.py" = [
140137 " PLR2004" , # Allow "magic values" in tests -aspen
141- " S101" , # Allow asserts in tests
142- " SIM201" , # We need to test weird comparison operators
143- " SIM202" , # We need to test weird comparison operstors
144- " SIM300" , # We need to test both forward and reverse comparisons
145- " FBT001" , # Boolean parameters are fine for test cases
138+ " S101" , # Allow asserts in tests
139+ " SIM201" , # We need to test weird comparison operators
140+ " SIM202" , # We need to test weird comparison operstors
141+ " SIM300" , # We need to test both forward and reverse comparisons
142+ " FBT001" , # Boolean parameters are fine for test cases
146143]
147144
148145[tool .ruff .lint .pycodestyle ]
@@ -188,6 +185,7 @@ enable_error_code = [
188185 " truthy-bool" ,
189186 " truthy-iterable" ,
190187 " ignore-without-code" ,
188+ " deprecated" ,
191189]
192190ignore_missing_imports = true
193191
@@ -211,15 +209,6 @@ exclude_lines = [
211209branch = true
212210relative_files = true
213211
214- [tool .commitizen ]
215- name = " cz_conventional_commits"
216- tag_format = " v$version"
217- version_scheme = " semver2"
218- version_provider = " scm"
219- update_changelog_on_bump = true
220- major_version_zero = true
221- annotated_tag = true
222-
223212[tool .nitpick ]
224213style = [" gh://TotallyNotRobots/nitpick/lib-style-3.10.toml" ]
225214
0 commit comments