Skip to content

Commit

Permalink
move ruff rule selection to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tdstein committed Jul 26, 2024
1 parent c07ff4b commit ec88a8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ docs:

fmt:
$(PYTHON) -m autoflake --remove-all-unused-imports --in-place --recursive .
$(PYTHON) -m ruff check --select I --fix
$(PYTHON) -m ruff check --fix
$(PYTHON) -m ruff format .

install:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ docstring-code-format = true
docstring-code-line-length = "dynamic"

[tool.ruff.lint]
select = ["D"]
select = ["D", "I"]
ignore = [
# NumPy style docstring convention with noted exceptions.
# https://docs.astral.sh/ruff/faq/#does-ruff-support-numpy-or-google-style-docstrings
Expand Down

0 comments on commit ec88a8c

Please sign in to comment.