Skip to content

Commit

Permalink
adding lint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexArcPy committed Oct 12, 2018
1 parent 02603c2 commit 84894cc
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@ ENV/
*.wpr
*.wpu

# styles and linters
*.yapf
*.cfg

# geodatabases
*.gdb
debugger.py
Expand Down
5 changes: 5 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[isort]
multi_line_output = 3
include_trailing_comma = true
default_section = FIRSTPARTY
line_length = 80
2 changes: 2 additions & 0 deletions registrant/.style.yapf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[style]
column_limit=80
8 changes: 8 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[flake8]
max-complexity = 15
max-line-length = 80
enable-extensions = G
max-local-variables = 15
max-arguments = 15

ignore=I003, W503, Z220, Z422, I001, Z302, Z412
2 changes: 2 additions & 0 deletions tests/.style.yapf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[style]
column_limit=80

0 comments on commit 84894cc

Please sign in to comment.