File: lint

package info (click to toggle)
exabgp 4.2.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,612 kB
  • sloc: python: 37,482; sh: 581; perl: 31; makefile: 23
file content (19 lines) | stat: -rwxr-xr-x 515 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
env \
	PYTHONPATH=$PYTHONPATH:lib \
	python2.6 \
		/opt/local/bin/pylint-2.6 \
			--variable-rgx="[a-z_][a-z0-9_]{0,30}$" \
			--disable-msg=W0312 \
			--disable-msg=C0324 \
			--disable-msg=C0111 \
			--disable-msg=C0321 \
			--disable-msg=C0103 \
			--max-line-length=200  \
			$1 

# W0312 : Found indentation with tabs instead of spaces
# C0324 : Comma not followed by a space
# C0111 : Missing docstring 
# C0321 : More than one statement on a single line
# C0103 : the regex for class and functions