CederGroupHub / chgnet

Pretrained universal neural network potential for charge-informed atomistic modeling https://chgnet.lbl.gov
https://doi.org/10.1038/s42256-023-00716-3
Other
220 stars 60 forks source link

Fix `ruff` `PERF203` + `PERF401` violations #43

Closed janosh closed 1 year ago

janosh commented 1 year ago

1adaf28 link docs from readme badge 3b0d635 bump ruff and opt in to beta notebooks linting 9688c97 fix ruff PERF203 + PERF401 violations

codacy-production[bot] commented 1 year ago

Coverage summary from Codacy

Merging #43 (9688c97265d2aef07edd3de584b820988f8d94b1) into main (b568139f320fb3f3d3cec980bb7545f72fb9f8f4) - See PR on Codacy

Coverage variation Diff coverage
Report missing for b568139f320fb3f3d3cec980bb7545f72fb9f8f4[^1] 100.00%
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (b568139f320fb3f3d3cec980bb7545f72fb9f8f4) | Report Missing | Report Missing | Report Missing | | | Head commit (9688c97265d2aef07edd3de584b820988f8d94b1) | 1157 | 875 | 75.63% | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#43) | 2 | 2 | **100.00%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences

[^1]: Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.