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

Fix the crash when -p no:cacheprovider is given. #96

Merged
merged 2 commits into from
Jul 16, 2019
Merged

Fix the crash when -p no:cacheprovider is given. #96

merged 2 commits into from
Jul 16, 2019

Conversation

yanqd0
Copy link
Contributor

@yanqd0 yanqd0 commented Jun 16, 2019

The issue is #91.

I don't know someone depends on -p no:cacheprovider, so I didn't realize the config.cache could be missing. Sorry about that.

In this pull request, I add a regression test to reproduce that issue, and fix it with checking.

The pytest-pep8 has the same problem. As a result, for pytest-pylint its self, --pep8 in tox.ini should be deleted, before pytest -p no:cacheprovider is run.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 98.214% when pulling 9a918bd on yanqd0:master into 14994e3 on carsongee:master.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 98.214% when pulling 9a918bd on yanqd0:master into 14994e3 on carsongee:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 98.214% when pulling 9a918bd on yanqd0:master into 14994e3 on carsongee:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 98.214% when pulling 9a918bd on yanqd0:master into 14994e3 on carsongee:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 98.214% when pulling 9a918bd on yanqd0:master into 14994e3 on carsongee:master.

Copy link
Owner

@carsongee carsongee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, it took a bit to get to this, but it looks great! Thanks!

@carsongee carsongee merged commit 96c9063 into carsongee:master Jul 16, 2019
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.

3 participants