Skip to content

Commit 93e1a33

Browse files
Updated files with 'repo_helper'. (#29)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 74bd42c commit 93e1a33

File tree

7 files changed

+14
-47
lines changed

7 files changed

+14
-47
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ tag = True
1414
[bumpversion:file:doc-source/index.rst]
1515

1616
[bumpversion:file:coverage_pyver_pragma/__init__.py]
17+
search = : str = "{current_version}"
18+
replace = : str = "{new_version}"

.github/actions_build_conda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
set -e -x
55

6-
python -m repo_helper make-recipe || exit 1
6+
python -m mkrecipe || exit 1
77

88
# Switch to miniconda
99
source "/home/runner/miniconda/etc/profile.d/conda.sh"

.github/workflows/python_ci_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
- name: Install dependencies 🔧
150150
run: |
151151
python -m pip install --upgrade pip setuptools wheel
152-
python -m pip install --upgrade repo_helper
152+
python -m pip install --upgrade mkrecipe
153153
154154
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
155155
bash miniconda.sh -b -p $HOME/miniconda

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ description = "Plugin for Coverage.py to selectively ignore branches depending o
99
readme = "README.rst"
1010
keywords = []
1111
dynamic = [ "requires-python", "classifiers", "dependencies",]
12+
1213
[[project.authors]]
1314
1415
name = "Dominic Davis-Foster"
1516

17+
1618
[project.license]
1719
file = "LICENSE"
1820

@@ -33,3 +35,7 @@ python-versions = [ "3.6", "3.7", "3.8", "3.9",]
3335
python-implementations = [ "CPython", "PyPy",]
3436
platforms = [ "Windows", "macOS", "Linux",]
3537
license-key = "MIT"
38+
39+
[tool.mkrecipe]
40+
extras = [ "all",]
41+
conda-channels = [ "conda-forge", "domdfcoding",]

setup.cfg

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,48 +6,6 @@
66
# * mypy
77
# * options.entry_points
88

9-
[metadata]
10-
name = coverage_pyver_pragma
11-
author = Dominic Davis-Foster
12-
author_email = [email protected]
13-
license = MIT License
14-
keywords =
15-
long_description = file: README.rst
16-
long_description_content_type = text/x-rst
17-
platforms = Windows, macOS, Linux
18-
url = https://github.com/python-coincidence/coverage_pyver_pragma
19-
project_urls =
20-
Documentation = https://coverage_pyver_pragma.readthedocs.io/en/latest
21-
Issue Tracker = https://github.com/python-coincidence/coverage_pyver_pragma/issues
22-
Source Code = https://github.com/python-coincidence/coverage_pyver_pragma
23-
classifiers =
24-
Development Status :: 4 - Beta
25-
Intended Audience :: Developers
26-
License :: OSI Approved :: MIT License
27-
Operating System :: OS Independent
28-
Programming Language :: Python
29-
Programming Language :: Python :: 3 :: Only
30-
Programming Language :: Python :: 3.6
31-
Programming Language :: Python :: 3.7
32-
Programming Language :: Python :: 3.8
33-
Programming Language :: Python :: 3.9
34-
Programming Language :: Python :: Implementation :: CPython
35-
Programming Language :: Python :: Implementation :: PyPy
36-
Topic :: Utilities
37-
Typing :: Typed
38-
39-
[options]
40-
python_requires = >=3.6.1
41-
zip_safe = False
42-
include_package_data = True
43-
packages = find:
44-
45-
[options.packages.find]
46-
exclude =
47-
doc-source
48-
tests
49-
tests.*
50-
519
[mypy]
5210
python_version = 3.6
5311
namespace_packages = True

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
coincidence>=0.1.0
1+
coincidence>=0.2.0
22
domdf-python-tools[testing]>=2.0.1
33
iniconfig!=1.1.0,>=1.0.1
44
pytest>=6.0.0

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ basepython = python3.6
8585
ignore_errors = True
8686
changedir = {toxinidir}
8787
deps =
88-
mypy==0.800
88+
mypy==0.812
8989
-r{toxinidir}/tests/requirements.txt
9090
-r{toxinidir}/stubs.txt
9191
commands = mypy coverage_pyver_pragma tests {posargs}
@@ -100,7 +100,7 @@ commands = pyup_dirs coverage_pyver_pragma tests --py36-plus --recursive
100100

101101
[flake8]
102102
max-line-length = 120
103-
select = E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E225 E226 E227 E228 E231 E241 E242 E251 E261 E262 E265 E271 E272 E303 E304 E306 E402 E502 E703 E711 E712 E713 E714 E721 W291 W292 W293 W391 W504 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 PT005 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q001 Q002 Q003 A001 A002 A003 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 ENC001 ENC002 ENC003 ENC004 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 E301 E302 E305 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002
103+
select = E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E225 E226 E227 E228 E231 E241 E242 E251 E261 E262 E265 E271 E272 E303 E304 E306 E402 E502 E703 E711 E712 E713 E714 E721 W291 W292 W293 W391 W504 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q001 Q002 Q003 A001 A002 A003 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 ENC001 ENC002 ENC003 ENC004 ENC011 ENC012 ENC021 ENC022 ENC023 ENC024 ENC025 ENC026 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 E301 E302 E305 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002
104104
extend-exclude = doc-source,old,build,dist,__pkginfo__.py,setup.py,venv
105105
rst-directives =
106106
TODO
@@ -114,6 +114,7 @@ inline-quotes = "
114114
multiline-quotes = """
115115
docstring-quotes = """
116116
count = True
117+
min_python_version = 3.6.1
117118
118119
[coverage:report]
119120
fail_under = 95

0 commit comments

Comments
 (0)