Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude development tools from unused dependencies detection #365

Merged
merged 17 commits into from
Sep 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 27 additions & 6 deletions fawltydeps/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,42 @@ def parse_path_or_stdin(arg: str) -> PathOrSpecial:

DEFAULT_IGNORE_UNUSED = {
# Development tools not meant to be imported
# Formatting Tools
"autopep8",
"black",
"isort",
"pyformat",
"yapf",
# Linting Tools
"bandit",
zz1874 marked this conversation as resolved.
Show resolved Hide resolved
"flake8",
"mccabe",
"pyflakes",
"pylint",
# Security Tools
zz1874 marked this conversation as resolved.
Show resolved Hide resolved
"codespell",
"colorama",
# Documentation Tools
"sphinx",
"sphinx-rtd-theme",
jherland marked this conversation as resolved.
Show resolved Hide resolved
"recommonmark",
jherland marked this conversation as resolved.
Show resolved Hide resolved
# Testing Tools
"coverage",
"fawltydeps",
"flake8",
"hypothesis",
zz1874 marked this conversation as resolved.
Show resolved Hide resolved
"isort",
"mypy",
"nox",
"pylint",
"pyright",
"pre-commit",
"pytest",
"wheel",
"tox",
# Utility Tools
"colorama",
"pydocstyle",
"pyright",
"rope",
"ruff",
"twine",
"unify",
"wheel",
zz1874 marked this conversation as resolved.
Show resolved Hide resolved
}


Expand Down