Skip to content
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

Explicit warning stacklevels #503

Merged
merged 5 commits into from
Dec 8, 2023
Merged

Explicit warning stacklevels #503

merged 5 commits into from
Dec 8, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Dec 8, 2023

d80f17d unpin and update pre-commit hooks
3f607e1 add explicit stacklevel to warnings (fixes flake8 B028)
d3c690d fix dead dynamic wf doc link reported in openjournals/joss-reviews#5995 (comment)

See here for rational behind explicit stack levels.

@utf @Andrew-S-Rosen We should probably add a link checker CI to catch dead doc links automatically.

@janosh janosh added docs Improvements or additions to documentation fix Bug fix qa Quality assurance labels Dec 8, 2023
@janosh
Copy link
Member Author

janosh commented Dec 8, 2023

1st attempt at CI link checking in ffc23cb using https://github.com/jupyterlab/pytest-check-links which supports Jupyter notebooks. Never used it before but it's from jupyterlab and looks official.

@janosh janosh force-pushed the explicit-warning-stacklevels branch 2 times, most recently from 2af76f8 to 913a107 Compare December 8, 2023 19:31
@janosh janosh force-pushed the explicit-warning-stacklevels branch from f40e755 to 7666ca6 Compare December 8, 2023 19:37
@janosh janosh merged commit 3b7919a into main Dec 8, 2023
6 checks passed
@janosh janosh deleted the explicit-warning-stacklevels branch December 8, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation fix Bug fix qa Quality assurance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant