Skip to content

Commit 4b94dbb

Browse files
authored
Merge pull request #18 from dhellmann/17-pkglint
add pkglint test and fix some warnings
2 parents 50f2b4c + 0399e4a commit 4b94dbb

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
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: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
[metadata]
22
name = virtualenvwrapper
33
author = Doug Hellmann
4-
author-email = doug@doughellmann.com
4+
author_email = doug@doughellmann.com
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
1010
License :: OSI Approved :: MIT License
1111
Programming Language :: Python
12-
Programming Language :: Python :: 2
13-
Programming Language :: Python :: 2.6
14-
Programming Language :: Python :: 2.7
1512
Programming Language :: Python :: 3
16-
Programming Language :: Python :: 3.3
17-
Programming Language :: Python :: 3.4
18-
Programming Language :: Python :: 3.5
19-
Programming Language :: Python :: 3.6
20-
Intended Audience :: Developers
13+
Programming Language :: Python :: 3.8
14+
Programming Language :: Python :: 3.9
15+
Programming Language :: Python :: 3.10
16+
Programming Language :: Python :: 3.11
17+
Intended Audience :: Developers
2118
Environment :: Console
2219
keywords =
2320
virtualenv
24-
home-page = https://virtualenvwrapper.readthedocs.io/
21+
home_page = https://virtualenvwrapper.readthedocs.io/
2522
zip_safe = False
2623

2724
[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)