-
Notifications
You must be signed in to change notification settings - Fork 1
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
Switch from black/isort/... to ruff #99
Merged
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
WIP - [ ] Apply changes after the bigger PRs have been merged to avoid conflicts. - [ ] Re-enable some currently ignored rules
dilpath
approved these changes
Nov 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thanks a lot. I'm glad it cleaned up all the unused imports!
Co-authored-by: Dilan Pathirana <[email protected]>
dilpath
added a commit
that referenced
this pull request
Nov 18, 2024
* make model hashes nicer; add model hash to model method * :class:`ModelHash` * support user-supplied models with no specified subspace * Skip virtual models in `models_to_yaml_list` (#66) * Action updates via dependabot (#92) * GHA: Add PyPI deployment workflow (#91) Related to #89 * Fix minimum Python requirement (#97) petab requires python>=3.10 * Doc: Fix heading levels in example (#96) Fixes the sphinx TOC and a typo. * Get rid of petab DeprecationWarnings (#93) Closes #90 * README.md: PyPI badge * Add some docs; ensure similar PEtab problems in distance calculation (#67) * File formats to RTD (#102) * Move test suite description to RTD (#101) Related to #95. * User-calibrated models (#87) * compute safe petab hash digest size; support custom digest size; refactor `CandidateSpace` excluded hashes; add `end_iteration`; rename `candidates`->`start_iteration`; change workflow as described in changelog * `ModelHash.__eq__`: support comparisons with `str` and partial hashes * repro: narrow bounds in test cases 1-8 * Add logo draft (#103) * add to RTD, closes #88 * Set up `setuptools_scm` (#100) Set up `setuptools_scm` and move most package configuration to `pyproject.toml`. Move git-based package URLs out of `pyproject.toml` (otherwise, PyPI upload will fail). Co-authored-by: Dilan Pathirana <[email protected]> * Doc: Update RTD landing page (#105) * Doc: Update RTD landing page Add a bit of content. #95. * Apply suggestions from code review Co-authored-by: Dilan Pathirana <[email protected]> * Formatting, spelling, links --------- Co-authored-by: Dilan Pathirana <[email protected]> * Switch from black/isort/... to ruff (#99) Replace black/isort/... by ruff. Run `pre-commit run --all-files`. Some additional rules should be enabled, but that will require additional effort. --------- Co-authored-by: Dilan Pathirana <[email protected]> * Update file format spec (#106) * add example to model space, to clarify compressed format Co-authored-by: Daniel Weindl <[email protected]> * Doc: fix list formatting (#107) * test case 0009: update predecessor model * Visualization methods (#36) * closes #104 --------- Co-authored-by: Daniel Weindl <[email protected]> Co-authored-by: Daniel Weindl <[email protected]> * Support SSR as criterion (#108) * closes #44 * changelog --------- Co-authored-by: Dilan Pathirana <[email protected]> Co-authored-by: Daniel Weindl <[email protected]> Co-authored-by: Daniel Weindl <[email protected]>
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.
Replace black/isort/... by ruff. Run
pre-commit run --all-files
.Some additional rules should be enabled, but that will require additional effort.