Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ on:
- "!gh-pages" # exclude gh-pages branch
- "!stage*" # exclude branches beginning with stage
paths:
- "datajoint"
- "src/datajoint"
- "tests"
pull_request:
branches:
- "**" # every branch
- "!gh-pages" # exclude gh-pages branch
- "!stage*" # exclude branches beginning with stage
paths:
- "datajoint"
- "src/datajoint"
- "tests"
jobs:
test:
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:
rev: 25.1.0 # matching versions in pyproject.toml and github actions
hooks:
- id: black
args: ["--check", "-v", "datajoint", "tests", "--diff"] # --required-version is conflicting with pre-commit
args: ["--check", "-v", "src", "tests", "--diff"] # --required-version is conflicting with pre-commit
- repo: https://github.com/PyCQA/flake8
rev: 7.3.0
hooks:
Expand All @@ -41,7 +41,7 @@ repos:
- --count
- --show-source
- --statistics
files: datajoint # a lot of files in tests are not compliant
files: src/ # a lot of files in tests are not compliant
# style tests
- id: flake8
args:
Expand All @@ -51,7 +51,7 @@ repos:
- --max-line-length=127
- --statistics
- --per-file-ignores=datajoint/diagram.py:C901
files: datajoint # a lot of files in tests are not compliant
files: src/ # a lot of files in tests are not compliant
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
Expand Down
Loading