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

Support disabling pylint via the command line #48

Closed
orf opened this issue Jul 2, 2018 · 2 comments
Closed

Support disabling pylint via the command line #48

orf opened this issue Jul 2, 2018 · 2 comments

Comments

@orf
Copy link

orf commented Jul 2, 2018

Hey, thank you for this package! I have a small feature request - we add --pylint to our setup.cfg file so that it is always run alongside our tests:

[tool:pytest]
addopts = -p no:cacheprovider -n auto --junitxml /tmp/unit_results.xml --pylint

This works fine, but I find myself wishing to just run our tests locally without the linting (which is a bit faster).

I'd love the ability to run pytest --no-pylint and have it override the auto-included --pylint flag, so that pytest --pylint --no-pylint will not run pylint.

@carsongee
Copy link
Owner

This is a great idea, I've often found myself wanting the same thing.

@orf
Copy link
Author

orf commented Jul 2, 2018

Awesome, thank you for the fast turnaround!

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

No branches or pull requests

2 participants