-
Notifications
You must be signed in to change notification settings - Fork 147
Ci updates #85
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
Ci updates #85
+720
−229
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
bmos
commented
Apr 12, 2025
•
edited
Loading
edited
- Added pre-commit to avoid having to make commits to fix format/linting warnings/errors
- Added Dependabot config file (need to enable in repo settings)
- Added CodeQL scanning
- Added coverage reporting with README badge
- Added Dependency review
- Added comprehensive Python check workflow
- Ruff formatting
- Ruff linting (with minimal config)
- Bandit security checks
- Pytest testing with ubuntu, windows, and macos with python 3.9-3.13
- Pre-commit run when ruff and bandit pass
- Removed tox and travis remnants
- Removed setup.py and recreated pyproject.toml for single source of build info using latest standards
- Added pypi classifiers
- Code cleanup (conversion to f-strings, consistent use of quotes, not passing self to super, avoiding bare Exceptions)
bmos
added a commit
that referenced
this pull request
Apr 12, 2025
* remove tox and travis * add dependabot * update version numbers * updated ci workflow * ruff fixes * support python 3.13 patches * fix dependency install commands * add pypi badges * add dev requirements file * remove pip-install and mypy jobs * cleanup workflow commands * read-all workflow permissions * better workflow triggering * more permissive requirements * install requirements-dev.txt in workflow * don't catch overly broad Exception in add cookie * add codeql workflow * add dependency review workflow * update gitignore * update to project config in pyproject.toml * use 160 line length for ruff * add pre-commit config * updated ci workflow * allow sudo in pytest step (for headless) * apply pyupgrade fixes * add allowed-endpoints to pytest harden-runner * set harden runner to audit mode for pytest * rename workflow to python.yaml * faster pytests with xdist * fix allowed-endpoints in coverage job * try block in pytest harden runner again * run on pull requests against any branch * fix pytest-xdist not being used
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.