Skip to content

Commit 1aca9db

Browse files
committed
Updated files with repo_helper.
1 parent 94c1331 commit 1aca9db

File tree

8 files changed

+14
-160
lines changed

8 files changed

+14
-160
lines changed

.ci/copy_pypi_2_github.py

Lines changed: 0 additions & 143 deletions
This file was deleted.

.isort.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ known_third_party =
1616
aenum
1717
colorama
1818
coverage
19+
coverage_pyver_pragma
1920
github
2021
pydash
2122
pytest

.pre-commit-config.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# This file is managed by `repo_helper`. Don't edit it directly
2-
# See https://pre-commit.com for more information
3-
# See https://pre-commit.com/hooks.html for more hooks
42
---
53

64
repos:
@@ -37,6 +35,7 @@ repos:
3735
rev: v0.30.0
3836
hooks:
3937
- id: yapf
38+
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
4039
args: [exclude *.pyi]
4140

4241
- repo: https://github.com/Lucas-C/pre-commit-hooks

.travis.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,3 @@ jobs:
6060
repo: domdfcoding/domdf_python_tools
6161
provider: script
6262
script: .ci/travis_deploy_conda.sh || return 1;
63-
64-
- stage: deploy_releases
65-
python: "3.6"
66-
install:
67-
- pip install PyGithub requests
68-
script: skip
69-
deploy:
70-
on:
71-
repo: domdfcoding/domdf_python_tools
72-
provider: script
73-
script: python .ci/copy_pypi_2_github.py || return 1;

__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
import_name = "domdf_python_tools"
5151
py_modules = []
5252
entry_points = {
53-
"console_scripts": []
53+
"console_scripts": [],
5454
}
5555

5656
__license__ = "GNU Lesser General Public License v3 or later (LGPLv3+)"

doc-source/conf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
from __pkginfo__ import __version__
1717

18+
# User-configurable lines
19+
# End of user-configurable lines
1820

1921
github_url = f"https://github.com/domdfcoding/domdf_python_tools"
2022

@@ -112,14 +114,14 @@ def setup(app):
112114
'type',
113115
label=_('Type'),
114116
has_arg=False,
115-
names=('type',),
116-
bodyrolename='class'
117+
names=('type', ),
118+
bodyrolename='class',
117119
),
118120
Field(
119121
'default',
120122
label=_('Default'),
121123
has_arg=False,
122-
names=('default',),
124+
names=('default', ),
123125
),
124126
]
125127
)

tests/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
coverage >=5.1
2+
coverage_pyver_pragma >=0.0.1
23
pytest >=6.0.0rc1
34
pytest-cov >=2.8.1
45
pytest-randomly >=3.3.1

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,8 @@ docstring-quotes = """
185185
python_version = 3.6
186186
ignore_missing_imports = True
187187
namespace_packages = True
188+
189+
190+
[coverage:run]
191+
plugins =
192+
coverage_pyver_pragma

0 commit comments

Comments
 (0)