diff --git a/Makefile b/Makefile index 44528e01..3191f435 100644 --- a/Makefile +++ b/Makefile @@ -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 . diff --git a/pyproject.toml b/pyproject.toml index 58860fa0..a2989b6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 diff --git a/requirements-dev.txt b/requirements-dev.txt index 53d32846..10ceed65 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,5 @@ -autoflake build coverage -isort mypy pandas pre-commit