Skip to content

Commit

Permalink
Ignoring files ending with "tests.py" if prospector is set to ignore …
Browse files Browse the repository at this point in the history
…tests. Previously only files ending in "test.py" were excluded.
  • Loading branch information
carlio committed Nov 30, 2014
1 parent fec76f4 commit c67c276
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Prospector Changelog

## Version 0.7.3

* [#70](https://github.com/landscapeio/prospector/issues/70) ProfilesThe E265 error from PEP8 - "Block comment should start with a `.yml` extension can now be autoloaded
* File names ending in 'tests.py' will now be ignored if prospector is set to ignore tests (previously, the regular expression only ignored files ending in 'test.py')
* [#70](https://github.com/landscapeio/prospector/issues/70) Profiles starting with a `.yml` extension can now be autoloaded
* [#62](https://github.com/landscapeio/prospector/issues/62) For human readable output, the summary of messages will now be printed at the end rather than at the start, so the summary will be what users see when running prospector (without piping into `less` etc)

## Version 0.7.2
Expand Down
2 changes: 1 addition & 1 deletion prospector/profiles/profiles/no_test_warnings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ ignore:
- ^tests?/?
- /tests?(/|$)
- (^|/)test_[_a-zA-Z0-9]+.py$
- (^|/)[_a-zA-Z0-9]+_test.py$
- (^|/)[_a-zA-Z0-9]+_tests?.py$

0 comments on commit c67c276

Please sign in to comment.