deepmodeling / dpgen2

2nd generation of the Deep Potential GENerator
https://docs.deepmodeling.com/projects/dpgen2/
GNU Lesser General Public License v3.0
32 stars 24 forks source link

move to ruff formatter #181

Closed njzjz closed 8 months ago

njzjz commented 10 months ago

See https://astral.sh/blog/the-ruff-formatter.

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (faf582e) 87.55% compared to head (58a70f0) 87.55%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #181 +/- ## ======================================= Coverage 87.55% 87.55% ======================================= Files 82 82 Lines 4171 4171 ======================================= Hits 3652 3652 Misses 519 519 ``` | [Files](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/181?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling) | Coverage Δ | | |---|---|---| | [dpgen2/entrypoint/submit.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/181?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2VudHJ5cG9pbnQvc3VibWl0LnB5) | `70.41% <ø> (ø)` | | | [dpgen2/exploration/deviation/deviation\_manager.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/181?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2V4cGxvcmF0aW9uL2RldmlhdGlvbi9kZXZpYXRpb25fbWFuYWdlci5weQ==) | `88.23% <ø> (ø)` | | | [dpgen2/exploration/task/lmp\_template\_task\_group.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/181?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2V4cGxvcmF0aW9uL3Rhc2svbG1wX3RlbXBsYXRlX3Rhc2tfZ3JvdXAucHk=) | `95.55% <100.00%> (ø)` | | | [dpgen2/exploration/task/npt\_task\_group.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/181?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2V4cGxvcmF0aW9uL3Rhc2svbnB0X3Rhc2tfZ3JvdXAucHk=) | `95.55% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.