-
Notifications
You must be signed in to change notification settings - Fork 10
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
Added marker for codestyle #47
Conversation
Thank you for your contribution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks almost good, but there is a tiny request to improve the explanation of makers.
|
||
|
||
def pytest_configure(config): | ||
config.addinivalue_line('markers', 'codestyle: Test against pycodestyle') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config.addinivalue_line('markers', 'codestyle: Test against pycodestyle') | |
config.addinivalue_line('markers', 'codestyle: mark tests to be checked by pycodestyle.') |
ping @tjcim |
Currently if
--strict
is used with--codestyle
pytest will error stating that there is not a registered marker forcodestyle
.This pull requests adds in the marker and includes a test for the changes.