Skip to content

Install tox and flake8 dependency to run make test and make flake8#6995

Closed
abhi-jha wants to merge 2 commits into
psf:mainfrom
abhi-jha:main
Closed

Install tox and flake8 dependency to run make test and make flake8#6995
abhi-jha wants to merge 2 commits into
psf:mainfrom
abhi-jha:main

Conversation

@abhi-jha
Copy link
Copy Markdown
Contributor

@abhi-jha abhi-jha commented Jul 18, 2025

I see that setting up this project as per the Makefile needs tox to run make test and flake8 to run make flake8. I do not see these mentioned anywhere in the project installation steps that people need to install the pip package first before running the commands. This MR adds the tox and flake8 dependency to dev requirements.

@abhi-jha abhi-jha changed the title Install tox dependency to run make test Install tox and flake8 dependency to run make test Jul 18, 2025
@abhi-jha abhi-jha changed the title Install tox and flake8 dependency to run make test Install tox and flake8 dependency to run make test and make flake8 Jul 18, 2025
@nateprewitt
Copy link
Copy Markdown
Member

Hi @abhi-jha, we don't use that portion of the Makefile anymore, everything has been moved to pre-commit. We can delete that section, but I don't think we'll add flake8 to the dependencies. You can run linting with pre-commit run for your changes, or include --all-files to run it over everything.

@abhi-jha
Copy link
Copy Markdown
Contributor Author

abhi-jha commented Jul 18, 2025

Do you mean the Makefile is not relevant? Should I clean it up? Or do you mean just the specific sections of flake8 and tox?

@nateprewitt
Copy link
Copy Markdown
Member

The Makefile is relevant, the flake8 directive specifically either needs removal or an update.

@abhi-jha
Copy link
Copy Markdown
Contributor Author

Looks like I can't reopen this MR.

Raised another one : #6996

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