Skip to content

Commit

Permalink
MAINT: moved pylint conf to .pylintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
adler-j committed Nov 26, 2015
1 parent 684ad7c commit 65fc8bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
21 changes: 0 additions & 21 deletions .landscape.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,3 @@ ignore-paths:
- odlpp
ignore-patterns:
- ^example/doc_.*\.py$
pylint:
disable:
- redefined-builtin
- too-many-arguments
- anomalous-backslash-in-string
options:
include-naming-hint: yes
function-rgx: "[a-z_][a-zA-Z0-9_]{2,30}$"
function-name-hint: "[a-z_][a-zA-Z0-9_]{2,30}$"
variable-rgx: "[a-z_][a-zA-Z0-9_]{1,30}$"
variable-name-hint: "[a-z_][a-zA-Z0-9_]{1,30}$"
attr-rgx: "[a-z_][a-zA-Z0-9_]{1,30}$"
attr-name-hint: "[a-z_][a-zA-Z0-9_]{1,30}$"
argument-rgx: "[a-z_][a-zA-Z0-9_]{1,30}$"
argument-name-hint: "[a-z_][a-zA-Z0-9_]{1,30}$"
method-rgx: "[a-z_][a-zA-Z0-9_]{1,30}$"
method-name-hint: "[a-z_][a-zA-Z0-9_]{1,30}$"
max-module-lines: 2500
max-locals: 15
max-attributes: 7
min-public-methods: 0
8 changes: 4 additions & 4 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ disable=redefined-builtin,
no-value-for-parameter,
no-member,
too-many-function-args,

anomalous-backslash-in-string,

# redefined-builtin: 'object', 'range', 'str', 'super' are redefined, that's okay
# super-on-old-class: classes are erroneously interpreted as old-style
Expand Down Expand Up @@ -110,7 +110,7 @@ single-line-if-stmt=no
no-space-check=trailing-comma,dict-separator

# Maximum number of lines in a module
max-module-lines=1000
max-module-lines=2500

# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
# tab).
Expand All @@ -129,7 +129,7 @@ required-attributes=
bad-functions=map,filter,apply,input

# Good variable names which should always be accepted, separated by a comma
good-names=i,j,k,ex,Run,_,a,b,x,y,z,xp,yp,zp,s,q,p,I,T,dx,dy
good-names=i,j,k,ex,Run,_,a,b,x,y,z,xp,yp,zp,s,q,p,I,T,dx,dy,x1,x2

# Bad variable names which should always be refused, separated by a comma
bad-names=foo,bar,baz,toto,tutu,tata
Expand Down Expand Up @@ -316,7 +316,7 @@ max-parents=7
max-attributes=7

# Minimum number of public methods for a class (see R0903).
min-public-methods=1
min-public-methods=0

# Maximum number of public methods for a class (see R0904).
max-public-methods=20
Expand Down

0 comments on commit 65fc8bd

Please sign in to comment.