-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring in line with best practices (#63)
- Loading branch information
Showing
20 changed files
with
253 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# update all packages, unless marked with "pyup: ignore" in the requirements file | ||
update: all | ||
|
||
# enabling version pinning | ||
pin: True | ||
|
||
branch: master | ||
|
||
# automatically discover requirements files | ||
search: True | ||
|
||
# in time for a mid-week release | ||
schedule: every week on monday |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ARG PYTHON_VERSION | ||
|
||
FROM python:${PYTHON_VERSION} | ||
|
||
WORKDIR /app | ||
|
||
RUN pip install tox | ||
|
||
ENTRYPOINT ["/usr/local/bin/tox", "-e"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
include CONTRIBUTING.rst | ||
include HISTORY.rst | ||
include LICENSE | ||
include README.rst | ||
include CODE_OF_CONDUCT.md | ||
include tox.ini | ||
include config-example.yaml | ||
include version.txt | ||
include pyproject.toml | ||
include setup.py | ||
|
||
recursive-include requirements *.in | ||
recursive-include configs * | ||
recursive-include src * | ||
recursive-include requirements *.txt | ||
recursive-include tests * | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
|
||
recursive-include docs *.rst conf.py | ||
|
||
# added by check_manifest.py | ||
include *.txt | ||
|
||
# added by check_manifest.py | ||
include Dockerfile | ||
recursive-include configs *.yml | ||
recursive-include docker.d * | ||
|
||
exclude .dockerignore | ||
exclude .pyup.yml | ||
exclude .taskcluster.yml | ||
exclude CODE_OF_CONDUCT.md | ||
exclude CONTRIBUTING.rst | ||
exclude Dockerfile | ||
exclude Dockerfile.test | ||
exclude docker.d | ||
exclude tests | ||
exclude tox.ini | ||
exclude version.txt | ||
|
||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
recursive-exclude docs *.rst conf.py | ||
recursive-exclude docker.d * | ||
recursive-exclude requirements *.in | ||
recursive-exclude tests * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[tool.black] | ||
line-length = 100 | ||
target-version = ["py37", "py38"] | ||
include = '\.(wsgi|pyi?)$' | ||
exclude = ''' | ||
/( | ||
\.eggs | ||
| \.git | ||
| \.hg | ||
| \.mypy_cache | ||
| \.tox | ||
| \.venv | ||
| \.cache | ||
| \.cache_py3 | ||
| _build | ||
| buck-out | ||
| build | ||
| dist | ||
| ui | ||
)/ | ||
''' | ||
|
||
[tool.isort] | ||
line_length=100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-r test.in | ||
|
||
tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# SHA1:631e75ce35740a334ec3c128f7c0ecc69ab3e7b5 | ||
# | ||
# This file is autogenerated by pip-compile-multi | ||
# To update, run: | ||
# | ||
# pip-compile-multi | ||
# | ||
-r test.txt | ||
filelock==3.0.12 \ | ||
--hash=sha256:18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59 \ | ||
--hash=sha256:929b7d63ec5b7d6b71b0fa5ac14e030b3f70b75747cef1b10da9b879fef15836 \ | ||
# via tox | ||
tox==3.14.0 \ | ||
--hash=sha256:0bc216b6a2e6afe764476b4a07edf2c1dab99ed82bb146a1130b2e828f5bff5e \ | ||
--hash=sha256:c4f6b319c20ba4913dbfe71ebfd14ff95d1853c4231493608182f66e566ecfe1 | ||
virtualenv==16.7.7 \ | ||
--hash=sha256:11cb4608930d5fd3afb545ecf8db83fa50e1f96fc4fca80c94b07d2c83146589 \ | ||
--hash=sha256:d257bb3773e48cac60e475a19b608996c73f4d333b3ba2e4e57d5ac6134e0136 \ | ||
# via tox | ||
|
||
# The following packages are considered to be unsafe in a requirements file: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
-r base.in | ||
|
||
black | ||
check-manifest | ||
flake8 | ||
isort | ||
pip-compile-multi | ||
pytest | ||
pytest-coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.