44
55# Python code to execute, usually for sys.path manipulation such as
66# pygtk.require().
7- init-hook =' import sys; sys.path.append("$WORKSPACE/DIRAC/WorkloadManagementSystem/PilotAgent")'
7+ # init-hook='import sys; sys.path.append("$WORKSPACE/DIRAC/WorkloadManagementSystem/PilotAgent")'
88
99# Add <file or directory> to the black list. It should be a base name, not a
1010# path. You may set this option multiple times.
@@ -47,7 +47,7 @@ output-format=colorized
4747files-output =no
4848
4949# Tells whether to display a full report or only the messages
50- reports =yes
50+ reports =no
5151
5252# Python expression which should return a note less than 10 (10 is the highest
5353# note). You have access to the variables errors warning, statement which
@@ -63,7 +63,7 @@ bad-functions=map,filter,apply,input,raw_input,has_key
6363
6464# Regular expression which should only match correct module names
6565# Added last option, to take into account script names
66- module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|([dirac_-][a-zA-Z_-]+))$
66+ module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|([dirac_-][a-zA-Z_-]+)|(Test_[a-zA-Z_-]+) )$
6767
6868# Regular expression which should only match correct module level names
6969# const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__)|(g[A-Z][a-zA-Z0-9]*))$
@@ -73,7 +73,7 @@ const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__)|(g[A-Z][a-zA-Z0-9]*)|[a-z_][A-Za-z0-9_]*)
7373class-rgx =[A-Z_][a-zA-Z0-9]+$
7474
7575# Regular expression which should only match correct function names
76- function-rgx =[a-z_][A-Za-z0-9_]{2,30}$
76+ function-rgx =(( [a-z_][A-Za-z0-9_]{2,30}$)|(test_[A-Za-z0-9_]{2,50}$))
7777
7878# Regular expression which should only match correct method names
7979method-rgx =[a-z_][A-Za-z0-9_]{2,30}$
@@ -105,15 +105,11 @@ no-docstring-rgx=__.*__
105105[FORMAT]
106106
107107# Maximum number of characters on a single line.
108- max-line-length =120
108+ max-line-length =130
109109
110110# Maximum number of lines in a module
111111max-module-lines =1200
112112
113- # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
114- # tab).
115- indent-string =' '
116-
117113[MISCELLANEOUS]
118114
119115# List of note tags to take in consideration, separated by a comma.
0 commit comments