Skip to content

Commit 1f2c153

Browse files
committed
add pkglint test and fix some warnings
1 parent 50f2b4c commit 1f2c153

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
tox-environment:
105105
- docs
106106
- style
107+
- pkglint
107108

108109
steps:
109110
- uses: actions/checkout@v3

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[metadata]
22
name = virtualenvwrapper
33
author = Doug Hellmann
4-
author-email = [email protected]
4+
author_email = [email protected]
55
summary = Enhancements to virtualenv
6-
description-file = README.txt
6+
description_file = README.txt
77
license = MIT
88
classifier =
99
Development Status :: 5 - Production/Stable
@@ -21,7 +21,7 @@ classifier =
2121
Environment :: Console
2222
keywords =
2323
virtualenv
24-
home-page = https://virtualenvwrapper.readthedocs.io/
24+
home_page = https://virtualenvwrapper.readthedocs.io/
2525
zip_safe = False
2626

2727
[files]

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,13 @@ deps =
3535
-r{toxinidir}/requirements.txt
3636
-r{toxinidir}/docs/requirements.txt
3737
commands = python setup.py build_sphinx
38+
39+
[testenv:pkglint]
40+
deps=
41+
pbr
42+
twine
43+
check-python-versions
44+
commands=
45+
python setup.py sdist
46+
twine check dist/*.tar.gz
47+
check-python-versions --only setup.py,setup.cfg,.github/workflows/test.yml

0 commit comments

Comments
 (0)