Skip to content

Commit 6bc788d

Browse files
committed
Updated files with git_helper
1 parent 89678ce commit 6bc788d

File tree

8 files changed

+29
-11
lines changed

8 files changed

+29
-11
lines changed

.ci/copy_pypi_2_github.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import tempfile
77
import urllib.parse
88

9-
# this package
9+
# 3rd party
1010
import github
1111
import requests
1212

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ whiptail
6767
.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/whiptail
6868
:alt: GitHub top language
6969

70-
.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/whiptail/v0.3.1dev
70+
.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/whiptail/v0.3.1
7171
:target: https://github.com/domdfcoding/whiptail/pulse
7272
:alt: GitHub commits since tagged version
7373

__pkginfo__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
2020 Dominic Davis-Foster <dominic@davis-foster.co.uk>
4343
"""
4444

45-
__version__ = "0.3.1dev"
45+
__version__ = "0.3.1"
4646

4747
modname = "whiptail"
4848
pypi_name = "whiptail-dialogs"
@@ -69,7 +69,7 @@
6969
repo_root = pathlib.Path(__file__).parent
7070

7171
# Get info from files; set: long_description
72-
long_description = (repo_root / "README.rst").read_text().replace("0.3.1dev", __version__) + '\n'
72+
long_description = (repo_root / "README.rst").read_text().replace("0.3.1", __version__) + '\n'
7373

7474
install_requires = (repo_root / "requirements.txt").read_text().split('\n')
7575
extras_require = {'all': []}

doc-source/conf.py

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
import re
99
import sys
1010
import warnings
11+
12+
# 3rd party
1113
from sphinx.locale import _
1214

1315
# Suppress warnings from sphinx_autodoc_typehints
@@ -50,6 +52,7 @@
5052
"sphinx_tabs.tabs",
5153
"sphinx-prompt",
5254
"sphinx_autodoc_typehints",
55+
"sphinx.ext.autosummary",
5356
'sphinx.ext.autosummary',
5457
]
5558

doc-source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ whiptail
6666
.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/whiptail
6767
:alt: GitHub top language
6868

69-
.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/whiptail/v0.3.1dev
69+
.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/whiptail/v0.3.1
7070
:target: https://github.com/domdfcoding/whiptail/pulse
7171
:alt: GitHub commits since tagged version
7272

git_helper.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pypi_name: whiptail-dialogs
33
copyright_years: "2020"
44
author: "Dominic Davis-Foster"
55
email: "dominic@davis-foster.co.uk"
6-
version: "0.3.1dev"
6+
version: "0.3.1"
77
username: "domdfcoding"
88
license: 'BSD'
99
short_desc: 'Use whiptail to display dialog boxes from Python scripts.'

tox.ini

+20-4
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ basepython = python3.6
7878
skip_install = true
7979
ignore_errors=true
8080
changedir={toxinidir}
81-
deps =
82-
git+https://github.com/timothycrosley/isort.git
81+
deps = git+https://github.com/timothycrosley/isort.git
8382
commands = isort whiptail
8483

8584

@@ -88,11 +87,28 @@ basepython = python3.6
8887

8988
ignore_errors=true
9089
changedir={toxinidir}
91-
deps =
92-
mypy
90+
deps = mypy
9391
commands = mypy whiptail
9492

9593

94+
[testenv:pyup]
95+
basepython = python3.6
96+
97+
ignore_errors=true
98+
changedir={toxinidir}
99+
deps = git+https://github.com/domdfcoding/pyupgrade-directories.git
100+
commands = pyup_dirs whiptail --py36-plus --recursive
101+
102+
103+
[testenv:qa]
104+
basepython = python3.6
105+
skip_install = True
106+
ignore_errors=true
107+
whitelist_externals=tox
108+
changedir={toxinidir}
109+
commands = tox -e pyup,isort,yapf,mypy,lint
110+
111+
96112
[flake8]
97113
max-line-length = 120
98114
select = E301 E303 E304 E305 E306 E502 W291 W293 W391 E226 E225 E241 E231 E101 E111 E112 E113 E121 E122 E124 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E227 E228 E242 E251 E261 E262 E271 E272 E402 E703 E711 E712 E713 E714 E721 W504 E302 W292 E265

whiptail/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
32
#
43
# __init__.py
54
"""

0 commit comments

Comments
 (0)