Skip to content

Commit a77c071

Browse files
committed
Merge branch 'master' into fix-datajoint#1218
2 parents bc21349 + 0e4c609 commit a77c071

12 files changed

+293
-281
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// "runServices": [],
2929
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
3030
"shutdownAction": "stopCompose",
31-
"onCreateCommand": "python3 -m pip install -q -e .[test]",
31+
"onCreateCommand": "python3 -m pip install -q -e .[dev]",
3232
"features": {
3333
"ghcr.io/devcontainers/features/git:1": {},
3434
"ghcr.io/devcontainers/features/docker-in-docker:2": {},

.github/workflows/close_inactive_issues.yaml .github/workflows/close_inactive_issues_prs.yaml

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
name: Close inactive issues
1+
name: Close inactive issues and PRs
22
on:
33
schedule:
44
- cron: "30 1 * * *"
5+
workflow_dispatch:
56

67
jobs:
78
close-issues:
@@ -12,11 +13,21 @@ jobs:
1213
steps:
1314
- uses: actions/stale@v9
1415
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
operations-per-run: 500 # API rate limit
18+
## issues
19+
# stale
1520
days-before-issue-stale: 45 # for initial period, suggest 15
1621
stale-issue-label: "stale"
1722
stale-issue-message: "This issue is stale because it has been open for 45 days with no activity."
23+
# close
1824
days-before-issue-close: 365 # for initial period, suggest 30
1925
close-issue-message: "This issue was closed because it has been inactive for 365 days since being marked as stale, please reopen if it's still applicable."
26+
## PRs
27+
# stale
2028
days-before-pr-stale: 45 # for initial period, suggest 15
29+
stale-pr-label: "stale"
30+
stale-pr-message: "This PR is stale because it has been open for 45 days with no activity."
31+
# close
2132
days-before-pr-close: 365 # for initial period, suggest 30
22-
repo-token: ${{ secrets.GITHUB_TOKEN }}
33+
close-pr-message: "This PR was closed because it has been inactive for 365 days since being marked as stale, please reopen if it's still applicable."

.github/workflows/development.yaml

-241
This file was deleted.

.github/workflows/docs.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: Manual docs release
22
on:
33
workflow_dispatch:
4+
workflow_call:
45
jobs:
56
publish-docs:
67
runs-on: ubuntu-latest
7-
env:
8-
DOCKER_CLIENT_TIMEOUT: "120"
9-
COMPOSE_HTTP_TIMEOUT: "120"
108
steps:
119
- uses: actions/checkout@v4
1210
- name: Deploy docs

.github/workflows/lint.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Test
2+
on:
3+
push:
4+
branches:
5+
- "**" # every branch
6+
- "!gh-pages" # exclude gh-pages branch
7+
- "!stage*" # exclude branches beginning with stage
8+
pull_request:
9+
branches:
10+
- "**" # every branch
11+
- "!gh-pages" # exclude gh-pages branch
12+
- "!stage*" # exclude branches beginning with stage
13+
jobs:
14+
lint:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-python@v5
19+
# enforce the same check as pre-commit
20+
# but only run important checks
21+
- uses: pre-commit/[email protected]
22+
with:
23+
extra_args: codespell --all-files
24+
- uses: pre-commit/[email protected]
25+
with:
26+
extra_args: black --all-files
27+
- uses: pre-commit/[email protected]
28+
with:
29+
extra_args: flake8 --all-files

0 commit comments

Comments
 (0)