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 #2714

Merged
merged 8 commits into from
Jun 3, 2024
Merged

Conversation

updates:
- [github.com/python-jsonschema/check-jsonschema: 0.28.2 → 0.28.4](python-jsonschema/check-jsonschema@0.28.2...0.28.4)
- [github.com/mattlqx/pre-commit-search-and-replace: v1.0.5 → v1.1.2](mattlqx/pre-commit-search-and-replace@v1.0.5...v1.1.2)
- [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0)
- [github.com/crate-ci/typos: v1.21.0 → v1.22.0](crate-ci/typos@v1.21.0...v1.22.0)
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](astral-sh/ruff-pre-commit@v0.4.3...v0.4.7)
@pre-commit-ci pre-commit-ci bot requested a review from namurphy as a code owner June 3, 2024 19:36
Copy link

github-actions bot commented Jun 3, 2024

Thank you for submitting a pull request (PR) to PlasmaPy! ✨ The future of the project depends on contributors like you, so we deeply appreciate it! 🌱

Our contributor guide has information on:

Important

PlasmaPy recently switched to an src layout. The source code previously in plasmapy/ is now in src/plasmapy/. Tests are now in tests/. If you have previously done an editable installation, it will likely need to be re-done (i.e., with pip install -e .[tests,docs] in the top-level directory of the repository). The former plasmapy/ directory will need to be deleted manually in old clones because git does not track directories.

The bottom of this page shows several checks that are run for every PR. Don't worry if something broke! We break stuff all the time. 😺 Click on "Details" to learn why a check didn't pass. Please also feel free to ask for help. We do that all the time as well. 🌸 You can find us in our chat room or weekly community meeting & office hours. Here are some tips:

  • Try fixing CI / Python 3.12 test failures first.
  • Most pre-commit.ci - pr failures can be automagically fixed by commenting pre-commit.ci autofix below, followed by a git pull to bring the changes back to your computer. Please also see our pre-commit troubleshooting guide.
  • If pre-commit.ci - pr says that a function is too long or complex, try breaking up that function into multiple short functions that each do one thing. See also these tips on writing clean scientific software.
  • If the CI / Documentation check ends with a cryptic error message, check out our documentation troubleshooting guide.
  • For a documentation preview, click on Details next to docs/readthedocs.org:plasmapy.

If this PR is marked as ready for review, someone should stop by to provide a code review and offer suggestions soon. ✅ If you don't get a review within a few days, please feel free to send us a reminder.

Please also use SI units within PlasmaPy, except when there is strong justification otherwise or in some examples.

We thank you once again!

@github-actions github-actions bot added no changelog entry needed CI Related to continuous integration linters Code linters and autoformatters labels Jun 3, 2024
Copy link

codecov bot commented Jun 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.14%. Comparing base (71663fb) to head (c3bbdba).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2714   +/-   ##
=======================================
  Coverage   95.14%   95.14%           
=======================================
  Files         107      107           
  Lines        9411     9411           
  Branches     2168     2168           
=======================================
  Hits         8954     8954           
  Misses        276      276           
  Partials      181      181           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

.pre-commit-config.yaml Outdated Show resolved Hide resolved
@namurphy namurphy requested review from rocco8773 and a team as code owners June 3, 2024 20:20
@github-actions github-actions bot added plasmapy.particles Related to the plasmapy.particles subpackage docs PlasmaPy Docs at http:https://docs.plasmapy.org plasmapy.utils Related to the plasmapy.utils subpackage plasmapy.analysis Related to the plasmapy.analysis subpackage packaging Related to packaging or distribution python Pull requests that update Python code labels Jun 3, 2024
nd,
noo,
nwo,
ot,
recuse,
ro,
te,
tru,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used in hyperlink

@@ -246,13 +246,15 @@ gud,
hax,
hist,
hve,
inpt,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used in Stix notebook. Didn't make the change to input because input is a Python built-in.

@namurphy namurphy enabled auto-merge (squash) June 3, 2024 21:06
@namurphy namurphy disabled auto-merge June 3, 2024 21:56
@namurphy namurphy merged commit c7ab625 into main Jun 3, 2024
17 of 18 checks passed
@namurphy namurphy deleted the pre-commit-ci-update-config branch June 3, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Related to continuous integration docs PlasmaPy Docs at http:https://docs.plasmapy.org linters Code linters and autoformatters packaging Related to packaging or distribution plasmapy.analysis Related to the plasmapy.analysis subpackage plasmapy.particles Related to the plasmapy.particles subpackage plasmapy.utils Related to the plasmapy.utils subpackage python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant