Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tox "manifest" environment to pass #566

Merged
merged 2 commits into from
Dec 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .flake8

This file was deleted.

6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements

- repo: https://github.com/mgedmin/check-manifest
rev: "0.45"
hooks:
- id: check-manifest
args: [--no-build-isolation]
12 changes: 9 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
include README.rst
include .pre-commit-config.yaml
include CODE_OF_CONDUCT.md
include AUTHORS.rst
include CHANGELOG.md
include LICENSE
include AUTHORS.rst
include README.rst
include tox.ini
include jwt/py.typed
graft docs
graft tests
recursive-exclude * __pycache__
exclude codecov.yml
recursive-exclude docs/_build *
recursive-exclude * *.py[co]
recursive-exclude * __pycache__
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ exclude =
tests
tests.*

[flake8]
max-line-length = 79
extend-ignore = E203, E501

[mypy]
python_version = 3.6
ignore_missing_imports = true
Expand Down
10 changes: 1 addition & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ filterwarnings =
python =
3.6: py36
3.7: py37, docs
3.8: py38, lint, manifest, typing
3.8: py38, lint, typing
3.9: py39


Expand All @@ -26,7 +26,6 @@ envlist =
typing
py{36,37,38,39}-crypto-{linux,windows}
py{36,37,38,39}-nocrypto-{linux,windows}
manifest
docs
pypi-description
coverage-report
Expand Down Expand Up @@ -66,13 +65,6 @@ passenv = HOMEPATH # needed on Windows
commands = pre-commit run --all-files


[testenv:manifest]
basepython = python3.8
deps = check-manifest
skip_install = true
commands = check-manifest


[testenv:pypi-description]
basepython = python3.8
skip_install = true
Expand Down