File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ example-cli = "eq.lib.example.cli:cli"
1818
1919
2020[build-system ]
21- requires = [" hatchling" , " hatch-vcs" ]
21+ requires = [
22+ " hatchling" ,
23+ " hatch-requirements-txt" ,
24+ " hatch-vcs" ,
25+ ]
2226build-backend = " hatchling.build"
2327
2428
@@ -88,19 +92,30 @@ known_first_party = ["eq.lib.example"]
8892
8993
9094[tool .ruff ]
95+ line-length = 88
96+
97+ [tool .ruff .lint ]
9198# https://beta.ruff.rs/docs/rules/
9299select = [
93100 " E" , # pycodestyle
94101 " F" , # pyflakes
95102 # "I", # can't yet match isort config
96103]
97- line-length = 120
104+
105+ [tool .ruff .format ]
106+ # https://docs.astral.sh/ruff/formatter/#configuration
107+ preview = true
108+ quote-style = " double"
109+ indent-style = " space"
110+ line-ending = " lf"
98111
99112[tool .ruff .pydocstyle ]
100113convention = " numpy"
101114
102115[tool .ruff .per-file-ignores ]
103- "__init__.py" = [" F401" ]
116+ "__init__.py" = [
117+ " F401" , # https://www.flake8rules.com/rules/F401.html
118+ ]
104119
105120[tool .ruff .isort ]
106121combine-as-imports = false
You can’t perform that action at this time.
0 commit comments