Skip to content

Commit 4b7f2d3

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

File tree

3 files changed

+31
-8
lines changed

3 files changed

+31
-8
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: >

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exclude: ^$
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

0 commit comments

Comments
 (0)