-
Notifications
You must be signed in to change notification settings - Fork 16
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
Automatic developer environment creation #470
Draft
teald
wants to merge
54
commits into
master
Choose a base branch
from
feature/developer-environment
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains 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
teald
added
enhancement
Performance or usage improvement
continuous integration
Continuous integration issues
test
Test suite, regression and integration tests, Jenkins.
documentation 📚
Improvements or additions to documentation
dependencies
Pull requests that update a dependency file
labels
Dec 20, 2024
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #470 +/- ##
==========================================
- Coverage 63.88% 63.83% -0.05%
==========================================
Files 314 314
Lines 38964 38985 +21
==========================================
- Hits 24892 24887 -5
- Misses 14072 14098 +26
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Taking this out, since it seems more of a liability than anything that needs to be supported right now. Plus, it's probably better to have `nox -s devenv` the same for everyone who uses it.
This adds a placeholder entry in the pyproject.toml, which will be replaced with the dependency manager before merging.
These are default hooks that come with pre-commit.
Most changes are trailing lines. There are some changes to docstrings to either add them (in cases where header comments were used) or rectify non-conformant python code (e.g., tabbing issues). REBASE: Deferred to master branch.
This session just run pre-commit, which should be handling all linting/formatting/etc.
REBASE: Deferred to master branch
It's about to be deprecated, and it's useful to have tomllib around.
This is to provide all pythons to `nox`; if a user doesn't have a python version installed, they cannot make an environment with the correct one.
Ensure environment exists before attempting removal, skip if it does exist.
teald
force-pushed
the
feature/developer-environment
branch
from
December 23, 2024 17:33
b32d74c
to
b027496
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
continuous integration
Continuous integration issues
dependencies
Pull requests that update a dependency file
documentation 📚
Improvements or additions to documentation
enhancement
Performance or usage improvement
test
Test suite, regression and integration tests, Jenkins.
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.
Summary
This PR creates a new, automated development environment for DRAGONS using
nox
. It works withvenv
andconda
, following the current steps outlined inREADME.md
+ some quality of life checks.It also introduces
pre-commit
hooks to the repository, which:Other changes of note
chore([lint|format]):
and are added to.git-blame-ignore-revs
to preserve our commit history for, e.g.,git blame
tox
tonox
tox
baggagearchived/
directoryTODO
README.md