Skip to content

Commit d48c241

Browse files
Updated files with 'repo_helper'. (#15)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 14ac557 commit d48c241

File tree

7 files changed

+38
-15
lines changed

7 files changed

+38
-15
lines changed

.github/stale.yml

Lines changed: 5 additions & 5 deletions
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/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.6'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.7'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,7 +33,7 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7,8},build", experimental: False}
36-
- {python-version: "3.11.0-alpha.6", testenvs: "py311-dev-click{7,8},build", experimental: True}
36+
- {python-version: "3.11.0-alpha.7", testenvs: "py311-dev-click{7,8},build", experimental: True}
3737

3838
steps:
3939
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.6'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.7'
2727

2828
strategy:
2929
fail-fast: False
@@ -34,7 +34,7 @@ jobs:
3434
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3535
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310-click{7,8},build", experimental: False}
37-
- {python-version: "3.11.0-alpha.6", testenvs: "py311-dev-click{7,8},build", experimental: True}
37+
- {python-version: "3.11.0-alpha.7", testenvs: "py311-dev-click{7,8},build", experimental: True}
3838

3939
steps:
4040
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "macos-latest"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.6'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.7'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,7 +33,7 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7,8},build", experimental: False}
36-
- {python-version: "3.11.0-alpha.6", testenvs: "py311-dev-click{7,8},build", experimental: True}
36+
- {python-version: "3.11.0-alpha.7", testenvs: "py311-dev-click{7,8},build", experimental: True}
3737

3838
steps:
3939
- name: Checkout 🛎️

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exclude: ^(tests/test_snippet_fmt_/.*\.rst|tests/example.rst)$
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

Lines changed: 23 additions & 0 deletions
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

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ basepython = python3.6
107107
ignore_errors = True
108108
changedir = {toxinidir}
109109
deps =
110-
mypy==0.931
110+
mypy==0.942
111111
-r{toxinidir}/tests/requirements.txt
112112
commands = mypy snippet_fmt tests {posargs}
113113

0 commit comments

Comments
 (0)