Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ffa6dc

Browse files
[repo-helper] Configuration Update (#77)
* Updated files with 'repo_helper'. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1a4318e commit 0ffa6dc

File tree

6 files changed

+57
-12
lines changed

6 files changed

+57
-12
lines changed

.github/stale.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ daysUntilStale: 180
77

88
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
99
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
10-
daysUntilClose: 180
10+
daysUntilClose: false
1111

1212
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
1313
onlyLabels: []
@@ -31,10 +31,10 @@ exemptAssignees: false
3131
staleLabel: stale
3232

3333
# Comment to post when marking as stale. Set to `false` to disable
34-
markComment: >
35-
This issue has been automatically marked as stale because it has not had
36-
recent activity. It will be closed if no further activity occurs. Thank you
37-
for your contributions.
34+
markComment: false
35+
# This issue has been automatically marked as stale because it has not had
36+
# recent activity. It will be closed if no further activity occurs. Thank you
37+
# for your contributions.
3838

3939
# Comment to post when removing the stale label.
4040
# unmarkComment: >

.github/workflows/conda_ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
python -VV
3838
python -m site
3939
python -m pip install --upgrade pip setuptools wheel
40-
python -m pip install --upgrade "whey-conda" "setuptools<61,>=40.6.0" "wheel>=0.34.2"
40+
python -m pip install --upgrade "whey-conda" "setuptools!=61.*,<61,>=40.6.0" "wheel>=0.34.2"
4141
# $CONDA is an environment variable pointing to the root of the miniconda directory
4242
$CONDA/bin/conda update -n base conda
4343
$CONDA/bin/conda config --add channels conda-forge

.github/workflows/python_ci_linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ jobs:
199199
python -VV
200200
python -m site
201201
python -m pip install --upgrade pip setuptools wheel
202-
python -m pip install --upgrade "mkrecipe" "setuptools<61,>=40.6.0" "wheel>=0.34.2"
202+
python -m pip install --upgrade "mkrecipe" "setuptools!=61.*,<61,>=40.6.0" "wheel>=0.34.2"
203203
# $CONDA is an environment variable pointing to the root of the miniconda directory
204204
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
205205
$CONDA/bin/conda update -n base conda

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exclude: ^domdf_python_tools/compat/importlib_resources.py$
55

66
repos:
77
- repo: https://github.com/repo-helper/pyproject-parser
8-
rev: v0.4.2
8+
rev: v0.4.3
99
hooks:
1010
- id: reformat-pyproject
1111

@@ -67,7 +67,7 @@ repos:
6767
- --keep-runtime-typing
6868

6969
- repo: https://github.com/Lucas-C/pre-commit-hooks
70-
rev: v1.1.11
70+
rev: v1.1.13
7171
hooks:
7272
- id: remove-crlf
7373
- id: forbid-crlf
@@ -78,7 +78,7 @@ repos:
7878
- id: snippet-fmt
7979

8080
- repo: https://github.com/python-formate/formate
81-
rev: v0.4.9
81+
rev: v0.4.10
8282
hooks:
8383
- id: formate
8484
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$

justfile

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
default: lint
2+
3+
pdf-docs: latex-docs
4+
make -C doc-source/build/latex/
5+
6+
latex-docs:
7+
SPHINX_BUILDER=latex tox -e docs
8+
9+
unused-imports:
10+
tox -e lint -- --select F401
11+
12+
incomplete-defs:
13+
#!/usr/bin/env bash
14+
tox -e mypy -- --disallow-incomplete-defs --disallow-untyped-defs | grep "Function is missing a .* annotation" || exit 0
15+
16+
vdiff:
17+
git diff $(repo-helper show version -q)..HEAD
18+
19+
bare-ignore:
20+
greppy '# type:? *ignore(?!\[|\w)' -s
21+
22+
lint: unused-imports incomplete-defs bare-ignore
23+
tox -n qa

pyproject.toml

+24-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = [ "setuptools<61,>=40.6.0", "wheel>=0.34.2",]
2+
requires = [ "setuptools!=61.*,<61,>=40.6.0", "wheel>=0.34.2",]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -9,7 +9,24 @@ description = "Helpful functions for Python 🐍 🛠️"
99
readme = "README.rst"
1010
requires-python = ">=3.6"
1111
keywords = [ "utilities",]
12-
dynamic = [ "classifiers", "dependencies",]
12+
classifiers = [
13+
"Development Status :: 5 - Production/Stable",
14+
"Intended Audience :: Developers",
15+
"License :: OSI Approved :: MIT License",
16+
"Operating System :: OS Independent",
17+
"Programming Language :: Python",
18+
"Programming Language :: Python :: 3 :: Only",
19+
"Programming Language :: Python :: 3.6",
20+
"Programming Language :: Python :: 3.7",
21+
"Programming Language :: Python :: 3.8",
22+
"Programming Language :: Python :: 3.9",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: Implementation :: CPython",
25+
"Programming Language :: Python :: Implementation :: PyPy",
26+
"Topic :: Software Development :: Libraries :: Python Modules",
27+
"Typing :: Typed",
28+
]
29+
dynamic = [ "dependencies",]
1330

1431
[[project.authors]]
1532
name = "Dominic Davis-Foster"
@@ -144,6 +161,11 @@ show_error_codes = true
144161
[tool.snippet-fmt]
145162
directives = [ "code-block",]
146163

164+
[tool.setuptools]
165+
zip-safe = false
166+
include-package-data = true
167+
platforms = [ "Windows", "macOS", "Linux",]
168+
147169
[tool.dependency-dash."requirements.txt"]
148170
order = 10
149171

0 commit comments

Comments
 (0)