@@ -25,7 +25,7 @@ classifiers = [
2525 " Topic :: Software Development :: Libraries :: Python Modules" ,
2626]
2727dependencies = [
28- " click~=8.1 " ,
28+ " click~=8.2 " ,
2929 " graphql-core>=3.2.0,<3.3" ,
3030 " toml~=0.10" ,
3131 " httpx~=0.23" ,
@@ -77,21 +77,24 @@ features = ["dev", "types"]
7777
7878[tool .hatch .envs .default .scripts ]
7979check = [
80- " hatch fmt" ,
81- " hatch test -a -p" ,
82- " hatch test --cover" ,
83- " hatch run types:check" ,
80+ " hatch fmt" ,
81+ " hatch test -a -p" ,
82+ " hatch test --cover" ,
83+ " hatch run types:check" ,
8484]
8585
8686# # Types environment
8787
8888[tool .hatch .envs .types .scripts ]
8989check = [
90- " mypy tests/main/clients/*/expected_client" ,
91- " mypy tests/main/graphql_schemas/*/expected_schema.py" ,
92- " mypy ariadne_codegen/client_generators/dependencies" ,
90+ " mypy tests/main/clients/*/expected_client" ,
91+ " mypy tests/main/graphql_schemas/*/expected_schema.py" ,
92+ " mypy ariadne_codegen/client_generators/dependencies" ,
9393]
9494
95+ [tool .hatch .envs .hatch-static-analysis ]
96+ dependencies = [" ruff>=0.14.0,<0.15.0" ]
97+
9598# # Test environments
9699
97100[tool .hatch .envs .hatch-test ]
@@ -123,16 +126,16 @@ source = ["ariadne_codegen", "tests"]
123126
124127[tool .coverage .report ]
125128exclude_also = [
126- " def __repr__" ,
127- " if self.debug:" ,
128- " if settings.DEBUG" ,
129- " raise AssertionError" ,
130- " raise NotImplementedError" ,
131- " if 0:" ,
132- " if __name__ == .__main__.:" ,
133- " if TYPE_CHECKING:" ,
134- " class .*\\ bProtocol\\ ):" ,
135- " @(abc\\ .)?abstractmethod" ,
129+ " def __repr__" ,
130+ " if self.debug:" ,
131+ " if settings.DEBUG" ,
132+ " raise AssertionError" ,
133+ " raise NotImplementedError" ,
134+ " if 0:" ,
135+ " if __name__ == .__main__.:" ,
136+ " if TYPE_CHECKING:" ,
137+ " class .*\\ bProtocol\\ ):" ,
138+ " @(abc\\ .)?abstractmethod" ,
136139]
137140omit = [" */__about__.py" , " */__main__.py" , " */cli/__init__.py" ]
138141fail_under = 90
@@ -146,9 +149,7 @@ target-version = "py39"
146149[tool .ruff .format ]
147150docstring-code-format = true
148151docstring-code-line-length = 99
149- exclude = [
150- " tests/main/clients/*/expected_client/*"
151- ]
152+ exclude = [" tests/main/clients/*/expected_client/*" ]
152153
153154[tool .ruff .lint ]
154155select = [" E" , " F" , " G" , " I" , " N" , " Q" , " UP" , " C90" , " T20" , " TID" ]
0 commit comments