Skip to content

Commit a2ad5d2

Browse files
author
victor73
committed
Added editorconfig conf file and pylintrc config.
1 parent e8f7d62 commit a2ad5d2

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

Diff for: .editorconfig

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true

Diff for: .pylintrc

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[MESSAGES CONTROL]
2+
3+
# Pointless whining
4+
# W0212 = Accessing protected attribute of client class
5+
# W0232 = Class has no __init__ method
6+
# W0401 = Wildcard import
7+
# W0613 = Unused argument
8+
# C0301 = Line too long
9+
# C0325 = Unnecessary parens after %r keyword
10+
# C0103 = Invalid name
11+
# R0201 = Method could be a function
12+
# R0903 = Too few public methods
13+
# R0904 = Too many public methods
14+
# R0912 = Too many branches
15+
# R0913 = Too many arguments
16+
# R0914 = Too many local variables
17+
# R0915 = Too many statements
18+
19+
# PyLint's module importation is unreliable
20+
# F0401 = Unable to import module
21+
# W0402 = Uses of a deprecated module
22+
23+
# Already an error when wildcard imports are used
24+
# W0614 = Unused import from wildcard
25+
26+
disable=W0401, W0614, R0902, R0903, R0904, RO912, R0913, R0914, R0915, C0103, C0325

0 commit comments

Comments
 (0)