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

[pre-commit.ci] pre-commit autoupdate #323

Closed
wants to merge 1 commit into from

Conversation

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](pre-commit/pre-commit-hooks@v4.3.0...v4.4.0)
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](PyCQA/flake8@5.0.4...6.0.0)
- [github.com/kynan/nbstripout: 0.5.0 → 0.6.1](kynan/nbstripout@0.5.0...0.6.1)
@danielhollas
Copy link
Contributor

Superseded by #331

unkcpz pushed a commit that referenced this pull request Dec 12, 2022
Put back uploading screenshots as artifacts. Screenshots were previously generated in the `screenshots/` directory inside the Git repo.  However, we now change ownership of the Git repo that is mounted into the testing container to user jovyan. 

Therefore, the Git repo directory is no longer writable from outside the container, which means pytest cannot write to it and screenshot files are not saved. It is workaround by giving the package folder the write access of all user inside the container.

Other fixes:

1. Do not test with multiple Python versions, tests themselves run inside the container so this was meaningles.
2. Fix the `setup.cfg`. See comment below. I needed to remove the `setupcfg-fmt` pre-commit hook, but since we plan to move to `pyproject.toml` anyway I think this is fine. 
3. Version bumps of various testing dependencies.
4. Updated `pre-commit` plugins by running `pre-commit autoupdate` manually. This PR supersecedes #323
@unkcpz
Copy link
Member

unkcpz commented Dec 12, 2022

Closed by #331

@unkcpz unkcpz closed this Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants