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

Lint specific directories #312

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

kurtmckee
Copy link
Contributor

@kurtmckee kurtmckee commented Jun 29, 2024

My workflow includes creating a virtual environment in .venv/ on both Linux and Windows and installing the package in editable mode. This causes flake8 . to churn through everything in the virtual environment and throw hundreds of errors.

This PR modifies the flake8 . lint command to target the project's code directories. It also configures the tox environment to skip building/installing the package, since it's unnecessary.

@kurtmckee kurtmckee force-pushed the lint-specific-directories branch 2 times, most recently from c634f24 to da1a1b2 Compare June 29, 2024 12:01
@kurtmckee kurtmckee force-pushed the lint-specific-directories branch from da1a1b2 to be839a6 Compare July 1, 2024 14:41
@kurtmckee
Copy link
Contributor Author

Rebased on main

@miketheman miketheman merged commit b447d5d into pypa:main Jul 1, 2024
8 checks passed
@kurtmckee kurtmckee deleted the lint-specific-directories branch July 1, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants