Skip to content

Commit b3b538b

Browse files
committed
move command line options to pyproject.toml
1 parent 812ef86 commit b3b538b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ fix: format ## apply auto-fixes
3636

3737
.PHONY: lint
3838
lint: ## lint
39-
poetry run ruff check . \
40-
--exclude client \
41-
--respect-gitignore
39+
poetry run ruff check .
4240
shellcheck scripts/*.sh
4341

4442
.PHONY: test

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ build-backend = "poetry.core.masonry.api"
5454
[tool.ruff]
5555
line-length = 120
5656
target-version = "py310"
57+
exclude = ["client"]
58+
respect-gitignore = true
5759

5860
[tool.ruff.lint]
5961
select = ["E", "F", "I", "UP"]
@@ -62,6 +64,7 @@ ignore = ["D203"]
6264
[tool.black]
6365
line-length = 120
6466
target-version = ["py310"]
67+
extend-exclude = ["client"]
6568

6669
[tool.pytest.ini_options]
6770
addopts = "-ra --cov"

0 commit comments

Comments
 (0)