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

temporarily enable and disable --unsafe-fixes #71

Conversation

Yi-FanLi
Copy link
Collaborator

@Yi-FanLi Yi-FanLi commented Aug 4, 2024

To resolve UP031 Use format specifiers instead of percent format and NPY002 Replace legacy np.random.random call with np.random.Generator.

Copy link

codecov bot commented Aug 4, 2024

Codecov Report

Attention: Patch coverage is 0% with 121 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (9658ab1) to head (c2cea67).

Files Patch % Lines
dpti/lib/RemoteJob.py 0.00% 27 Missing ⚠️
dpti/hti_water.py 0.00% 16 Missing ⚠️
dpti/hti.py 0.00% 15 Missing ⚠️
dpti/old_equi.py 0.00% 12 Missing ⚠️
dpti/hti_liq.py 0.00% 11 Missing ⚠️
dpti/ti.py 0.00% 11 Missing ⚠️
dpti/equi.py 0.00% 8 Missing ⚠️
dpti/mti.py 0.00% 8 Missing ⚠️
dpti/relax.py 0.00% 4 Missing ⚠️
dpti/hti_ice.py 0.00% 3 Missing ⚠️
... and 3 more
Additional details and impacted files
@@                     Coverage Diff                     @@
##           pre-commit-ci-update-config     #71   +/-   ##
===========================================================
  Coverage                         0.00%   0.00%           
===========================================================
  Files                               24      24           
  Lines                             5824    5820    -4     
===========================================================
+ Misses                            5824    5820    -4     

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

@Yi-FanLi Yi-FanLi changed the title temporarily enable --unsafe-fixes temporarily enable and disable --unsafe-fixes Aug 4, 2024
@Yi-FanLi Yi-FanLi merged commit 7268a9e into deepmodeling:pre-commit-ci-update-config Aug 4, 2024
8 checks passed
Yi-FanLi added a commit that referenced this pull request Aug 4, 2024
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/astral-sh/ruff-pre-commit: v0.1.8 → v0.5.5](astral-sh/ruff-pre-commit@v0.1.8...v0.5.5)
- [github.com/asottile/blacken-docs: 1.16.0 → 1.18.0](adamchainz/blacken-docs@1.16.0...1.18.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* temporarily enable and disable --unsafe-fixes (#71)

* enable --unsafe-fixes

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* NPY002 Replace legacy  call with

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Yifan Li李一帆 <[email protected]>
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.

1 participant