Skip to content

Commit

Permalink
replace autoflake8 with ruff rule F401
Browse files Browse the repository at this point in the history
  • Loading branch information
tdstein committed Jul 26, 2024
1 parent ec88a8c commit ceb3331
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ docs:
$(MAKE) -C ./docs

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

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", "I"]
select = ["D", "F401", "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
2 changes: 0 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
autoflake
build
coverage
isort
mypy
pandas
pre-commit
Expand Down

0 comments on commit ceb3331

Please sign in to comment.