Skip to content

Commit

Permalink
add stickler etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpereyda committed Aug 8, 2020
1 parent 3e8d7a3 commit 6798dba
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .stickler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
fixers:
enable: true

linters:
black:
config: ./pyproject.toml
fixer: true
flake8:
config: ./setup.cfg
fixer: true
pytype:
config: ./setup.cfg
fixer: false
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tool.black]
line-length = 120
2 changes: 2 additions & 0 deletions regpol/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .regpol import *

__version__ == "0.1.0"
15 changes: 15 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[zest.releaser]
python-file-with-version = regpol/__init__.py

[flake8]
extend-exclude = env,venv,.env,.venv

[check-manifest]
ignore = .stickler.yml

[tool:pytest]

[pytype]

[coverage:run]
source = ./regpol

0 comments on commit 6798dba

Please sign in to comment.