Skip to content

Commit 4b8cdde

Browse files
committed
Add quote formatting to pylint config
I just love getting a 5 running pylint
1 parent 4c2a4bf commit 4b8cdde

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.pylintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ single-line-if-stmt = no
3030
no-space-check = trailing-comma,dict-separator
3131
max-module-lines = 1000
3232
indent-string = ' '
33+
string-quote=single-avoid-escape
34+
triple-quote=single
35+
docstring-quote=double
3336

3437
[MISCELLANEOUS]
3538
notes = FIXME,XXX,TODO

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ python:
55
install:
66
- "pip install -r requirements.txt"
77
script:
8-
- "pylint packet/routes packet"
8+
- "pylint --load-plugins pylint_quotes packet/routes packet"

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ pylint~=2.3.1
99
gunicorn~=19.7.1
1010
csh_ldap~=2.1.0
1111
onesignal-sdk~=1.0.0
12+
pylint-quotes~=0.2.1

0 commit comments

Comments
 (0)