Skip to content

Commit

Permalink
Add configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
ezh committed Feb 13, 2020
1 parent b5ec2a3 commit d18e9ad
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
38 changes: 38 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[MASTER]
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code.
extension-pkg-whitelist=dependency_injector.containers, dependency_injector.providers

[BASIC]
good-names=
app,
d,
db,
e,
f,
f,
fp,
i,
LOG,
logger,
m,
p,
r,
s,
tb,
ui,

[FORMAT]
# Follow the standard from Black
# https://black.readthedocs.io/en/stable/the_black_code_style.html#line-length
max-line-length=88

[TYPECHECK]
# https://github.com/PyCQA/pylint/issues/73
ignored-modules = distutils

[MESSAGES CONTROL]
disable=
C0301, # [black] Line too long
C0330, # [black] Wrong hanging indentation before block

0 comments on commit d18e9ad

Please sign in to comment.