tholo / pytest-flake8

pytest plugin to run flake8
Other
117 stars 47 forks source link

Allow for cache based on file hash #32

Closed mikemill closed 5 years ago

mikemill commented 7 years ago

I transitioned one of my projects from a local Jenkins server to Travis-CI. Due to the way Travis loads the test environment the mtimes of all the files were changed. This solution allows for the use of hashes based on the file's content which isn't changed between unit test runs.

My goal is to allow both mtimes and hashes and to default to mtimes since it is faster than hashes.

eirnym commented 6 years ago

Please, add ability to specify hashing algorithm

eirnym commented 5 years ago

@mikemill why did you close it?

mikemill commented 5 years ago

I'm no longer using pytest-flake8 and don't have the time to try and update the PR. Please feel free to incorporate the code as you see fit.

Thanks

On Wed, Jun 19, 2019 at 1:16 PM Arseny Nasokin notifications@github.com wrote:

@mikemill https://github.com/mikemill why did you close it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tholo/pytest-flake8/pull/32?email_source=notifications&email_token=AAMTLHPRUYILWDNTZL6JRGTP3KH2VA5CNFSM4D5FJWJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDFASQ#issuecomment-503730250, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMTLHLDMG3ZCIOIVMC22GDP3KH2VANCNFSM4D5FJWJQ .