@@ -39,8 +39,11 @@ dependencies = [
3939[dependency-groups ]
4040dev = [
4141 " certifi>=2025.10.5" ,
42+ " coverage>=7.11.0" ,
43+ " mypy>=1.18.2" ,
4244 " pytest>=8.4.2" ,
4345 " pytz>=2025.2" ,
46+ " ruff>=0.14.2" ,
4447 " setuptools>=80.9.0" ,
4548 " stopit>=1.1.2" ,
4649 " verlib2>=0.3.1" ,
@@ -67,65 +70,67 @@ non_interactive = true
6770line-length = 80
6871
6972extend-exclude = [
70- " /example_*" ,
73+ " /example_*" ,
7174]
7275
7376lint.select = [
74- # Builtins
75- " A" ,
76- # Bugbear
77- " B" ,
78- # comprehensions
79- " C4" ,
80- # Pycodestyle
81- " E" ,
82- # eradicate
83- " ERA" ,
84- # Pyflakes
85- " F" ,
86- # isort
87- " I" ,
88- # pandas-vet
89- " PD" ,
90- # return
91- " RET" ,
92- # Bandit
93- " S" ,
94- # print
95- " T20" ,
96- " W" ,
97- # flake8-2020
98- " YTT" ,
77+ # Builtins
78+ " A" ,
79+ # Bugbear
80+ " B" ,
81+ # comprehensions
82+ " C4" ,
83+ # Pycodestyle
84+ " E" ,
85+ # eradicate
86+ " ERA" ,
87+ # Pyflakes
88+ " F" ,
89+ # isort
90+ " I" ,
91+ # pandas-vet
92+ " PD" ,
93+ # return
94+ " RET" ,
95+ # Bandit
96+ " S" ,
97+ # print
98+ " T20" ,
99+ " W" ,
100+ # flake8-2020
101+ " YTT" ,
99102]
100103
101104lint.extend-ignore = [
102- # Unnecessary variable assignment before `return` statement
103- " RET504" ,
104- # Unnecessary `elif` after `return` statement
105- " RET505" ,
105+ # Unnecessary variable assignment before `return` statement
106+ " RET504" ,
107+ # Unnecessary `elif` after `return` statement
108+ " RET505" ,
106109]
107110
108111lint.per-file-ignores."example_*" = [
109- " ERA001" , # Found commented-out code
110- " T201" , # Allow `print`
112+ " ERA001" , # Found commented-out code
113+ " T201" , # Allow `print`
111114]
112115lint.per-file-ignores."devtools/*" = [
113- " T201" , # Allow `print`
116+ " T201" , # Allow `print`
114117]
115118lint.per-file-ignores."examples/*" = [
116- " ERA001" , # Found commented-out code
117- " T201" , # Allow `print`
119+ " ERA001" , # Found commented-out code
120+ " T201" , # Allow `print`
118121]
119122lint.per-file-ignores."tests/*" = [
120- " S106" , # Possible hardcoded password assigned to argument: "password"
121- " S311" , # Standard pseudo-random generators are not suitable for cryptographic purposes
123+ " S101" , # Asserts.
124+ " S105" , # Possible hardcoded password assigned to: "password"
125+ " S106" , # Possible hardcoded password assigned to argument: "password"
126+ " S311" , # Standard pseudo-random generators are not suitable for cryptographic purposes
122127]
123128lint.per-file-ignores."src/crate/client/{connection.py,http.py}" = [
124- " A004" , # Import `ConnectionError` is shadowing a Python builtin
125- " A005" , # Import `ConnectionError` is shadowing a Python builtin
129+ " A004" , # Import `ConnectionError` is shadowing a Python builtin
130+ " A005" , # Import `ConnectionError` is shadowing a Python builtin
126131]
127132lint.per-file-ignores."tests/client/test_http.py" = [
128- " A004" , # Import `ConnectionError` is shadowing a Python builtin
133+ " A004" , # Import `ConnectionError` is shadowing a Python builtin
129134]
130135
131136
0 commit comments