diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2012-12-30 10:17:27 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-12-30 10:17:27 -0500 |
| commit | 04ef8ebce940e5ab73c770a418ecf9721f4e12f8 (patch) | |
| tree | ab4cd0b8c54c87cddaafb34a1cca105a84790cea /.pylintrc | |
| parent | af55a14f14ef3041690c810a61c62d22a089bfc8 (diff) | |
| download | python-coveragepy-git-04ef8ebce940e5ab73c770a418ecf9721f4e12f8.tar.gz | |
Get rid of import craziness in the tests.
Diffstat (limited to '.pylintrc')
| -rw-r--r-- | .pylintrc | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -67,15 +67,12 @@ disable= # Messages that may be silly: # R0201: 42:Tracer.stop: Method could be a function # C0321: 80:CodeUnit.__lt__: More than one statement on a single line -# R0401: 1: Cyclic import (coverage -> coverage.control -> coverage.html) -# W0403: 4: Relative import 'coveragetest' # E1103: 26:RunTests.test_run_python_file: Instance of 'file' has no 'getvalue' member (but some types could not be inferred) - R0201,C0321,R0401,W0403,E1103, + R0201,C0321,E1103, # Messages that are noisy for now, eventually maybe we'll turn them on: # C0103:256:coverage.morf_filename: Invalid name "f" (should match [a-z_][a-z0-9_]{2,30}$) # W0212: 86:Reporter.report_files: Access to a protected member _analyze of a client class -# W0404: 22:run_tests_with_coverage: Reimport 'coverage' (imported line 18) - C0103,W0212,W0404 + C0103,W0212 [REPORTS] @@ -144,7 +141,7 @@ class-rgx=[A-Z_][a-zA-Z0-9]+$ function-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct method names -method-rgx=[a-z_][a-z0-9_]{2,30}$ +method-rgx=[a-z_][a-z0-9_]{2,30}$|setUp|tearDown|test_.* # Regular expression which should only match correct instance attribute names attr-rgx=[a-z_][a-z0-9_]{2,30}$ |
