@@ -22,7 +22,6 @@ dependencies = [
2222 " pytest-cov" ,
2323 " mypy" ,
2424 " ruff" ,
25- " black" ,
2625 " debugpy" ,
2726 " GitPython" ,
2827 " semantic-version" ,
@@ -98,7 +97,7 @@ matrix.rf.dependencies = [
9897 { value = " robotframework>=7.1, <7.2" , if = [
9998 " rf71" ,
10099 ] },
101- { value = " robotframework>=7.2, <7.3" , if = [
100+ { value = " robotframework>=7.2, <7.3" , if = [
102101 " rf72" ,
103102 ] },
104103]
@@ -150,10 +149,8 @@ features = ["all"]
150149
151150
152151[envs .lint .scripts ]
153- typing-py = " mypy --no-incremental --cache-dir /dev/null {args:.}"
154- typing = [" typing-py" , " npm run compile" ]
155- style = [" ruff check ." , " black --check --diff ." , " npx eslint ." ]
156- fmt = [" black ." , " ruff check --fix ." , " style" , " npx eslint --fix ." ]
152+ typing = " mypy --no-incremental --cache-dir /dev/null {args:.}"
153+ style = [" ruff check ." , " ruff format --diff ." ]
157154all = [" style" , " typing" ]
158155
159156[envs .lint .overrides ]
@@ -178,3 +175,14 @@ extract-release-notes = ["python scripts/extract_release_notes.py"]
178175is-prerelease = [" python scripts/is_prerelease.py" ]
179176bump = [" cz bump {args}" ]
180177install-bundled-editable = " python ./scripts/install_bundled_editable.py"
178+
179+
180+ [envs .hatch-static-analysis ]
181+ installer =" uv"
182+ dependencies = [" ruff" ]
183+
184+ [envs .hatch-static-analysis .scripts ]
185+ format-check = [" ruff format --check --diff {args:.}" ]
186+ format-fix = [" ruff format {args:.}" ]
187+ lint-check = [" ruff check {args:.}" ]
188+ lint-fix = " ruff check --fix {args:.}"
0 commit comments