Skip to content

Commit 2bf03fd

Browse files
committed
Updated configuration files
1 parent 3a51931 commit 2bf03fd

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
rev: v0.30.0
3636
hooks:
3737
- id: yapf
38-
exclude: ^(conf\.py|)$
38+
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
3939

4040

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

__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
import_name = "coverage_pyver_pragma"
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/coverage_pyver_pragma"
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
)

0 commit comments

Comments
 (0)