Skip to content

Commit

Permalink
Remove unnecessary exception for test function names
Browse files Browse the repository at this point in the history
As we are no longer running linters over test modules, this exception
(to allow long method/function names as long as they start with "test_")
is no longer needed.
  • Loading branch information
nickstenning committed Jun 15, 2015
1 parent 6902e60 commit 47b96f5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .prospector.yaml
Expand Up @@ -27,14 +27,6 @@ pylint:
# - parser: common in modules that use argparse
#
good-names: _,i,j,k,v,e,db,fn,fp,log,parser

# Allow longer function and method names.
#
# By default PyLint doesn't allow function or method names longer than 30
# chars, but lots of test methods do (and should) have longer names. It'd
# be better to restrict this setting to tests only.
method-rgx: '((test_[a-z0-9_]{2,59})|([a-z_][a-z0-9_]{2,30}))$'
function-rgx: '((test_[a-z0-9_]{2,59})|([a-z_][a-z0-9_]{2,30}))$'
pep257:
disable:
- D100 # Missing docstring in public module
Expand Down

0 comments on commit 47b96f5

Please sign in to comment.