Skip to content

Commit 7e3cfbf

Browse files
committed
Updated template pyproject.toml
Typo in qc task, worked on ruff tasks and ruff options
1 parent b0974f7 commit 7e3cfbf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

{{ cookiecutter.package_name }}/pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ mypy.help = "[Code Quality] Run mypy type checker on source."
6767
ty.cmd = "ty check src/{{ cookiecutter.package_name }}"
6868
ty.help = "[Code Quality] Run ty type checker on source."
6969

70-
ruff-check.cmd = "ruff check --select ALL src/{{ cookiecutter.package_name }} tests"
70+
ruff-check.cmd = "ruff check src tests"
7171
ruff-check.help = "[Code Quality] Run ruff check on source."
7272

7373
ruff-format.cmd = "ruff format src tests"
@@ -82,7 +82,7 @@ check.help = "[Code Quality] Run all code quality tools on source."
8282
test.cmd = "pytest"
8383
test.help = "[Code Quality] Runs testing suites using pytest."
8484

85-
qc.seqence = [ "test", "ruff", "mypy", "ty" ]
85+
qc.sequence = [ "test", "ruff", "mypy", "ty" ]
8686
qc.help = "[Code Quality] Run all code quality tasks."
8787

8888
# Publish tasks
@@ -130,7 +130,8 @@ clean.help = "[Clean] Remove testing, build and code quality artifacts."
130130

131131
[tool.ruff]
132132
fix = true
133-
lint.select = [ "I" ]
133+
lint.select = [ "I", "ALL" ]
134+
lint.ignore = [ "COM812", "D203", "D211", "D212", "D213", "FBT001", "FBT003", "D400", "BLE001", "S101" ]
134135

135136
[tool.ty]
136137

0 commit comments

Comments
 (0)