Skip to content

Commit

Permalink
Internal: Add setup.cfg to configure linters
Browse files Browse the repository at this point in the history
LSP package uses python-language-server to provide code intel features.
It uses the setup.cfg to setup linters.
  • Loading branch information
deathaxe committed Oct 2, 2017
1 parent efccb98 commit 9b2d1de
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Expand Up @@ -13,3 +13,6 @@ release.sublime-commands export-ignore
## unit testing
tests/ export-ignore
unittesting.json export-ignore

## linter setup
setup.cfg export-ignore
18 changes: 18 additions & 0 deletions setup.cfg
@@ -0,0 +1,18 @@
[flake8]
ignore = D100,D101,D104,E722
exclude = .git,__init__.py
max-line-length = 80

[mypy]
python_version = 3.3
silent_imports = True
ignore_errors = True
strict_optional = False

[pycodestyle]
ignore = E722
max-line-length = 80

[pydocstyle]
ignore = D100,D101,D104
max-line-length = 80

0 comments on commit 9b2d1de

Please sign in to comment.