Skip to content

CI simplify check-watermark #4200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 30, 2020
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
8 changes: 5 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ repos:
- repo: local
hooks:
- id: watermark
name: Check notebooks have watermark
name: Check notebooks have watermark (see Jupyter style guide from PyMC3 Uncyclo)
types: [jupyter]
entry: python scripts/check_watermark.py
language: python
entry: '%load_ext watermark.*%watermark -n -u -v -iv -w'
language: pygrep
args: [--negate, --multiline]
minimum_pre_commit_version: 2.8.0
- id: check-toc
name: Check all notebooks appear in table of contents
types: [jupyter]
Expand Down
1 change: 1 addition & 0 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies:
- nose>=1.3
- nose-parameterized>=0.6
- numpydoc>=0.9
- pre-commit>=2.8.0
- pycodestyle>=2.3
- pyflakes>=1.5
- pylint>=1.7
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ nbsphinx>=0.4.2
nose>=1.3.7
nose-parameterized==0.6.0
numpydoc>=0.9.1
pre-commit>=2.8.0
pycodestyle>=2.3.1
pyflakes>=1.5.0
pylint>=1.7.4
Expand Down
27 changes: 0 additions & 27 deletions scripts/check_watermark.py

This file was deleted.