Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
b4a82a3
Merge master into devel (#396)
amcadmus Dec 15, 2022
8645b98
gaussian: support PBC (#397)
njzjz Dec 19, 2022
26e22f7
fix pass action (#400)
njzjz Dec 21, 2022
dcc48d5
fix a bug in #397 (#401)
njzjz Dec 22, 2022
5d9a63f
Refactor(abacus): return None but not raise error when energy can not…
pxlxingliang Dec 22, 2022
b92d073
docs: update installation commands (#403)
njzjz Dec 25, 2022
e6cbaab
Fix(abacus): add judgment on the existence of INPUT/running_scf.log/S…
pxlxingliang Jan 5, 2023
cfc9fd4
accept np.ndarray as index (#407)
njzjz Jan 12, 2023
a3d2133
Fix(abacus/relax): refactor the read of results from log file (#409)
pxlxingliang Jan 20, 2023
7b0f44b
fix a doc typo in plugins/gaussian.py (#410)
njzjz Jan 25, 2023
ffa52c5
lint and automatic lint (#413)
njzjz Jan 25, 2023
ecdf566
format Python codes in docs (#414)
njzjz Jan 27, 2023
d7829e5
pin parmed version for py37 (#416)
njzjz Jan 29, 2023
4283c9d
refactor(abacus): get energy by keyword "final etot is" in abacus/scf…
pxlxingliang Jan 31, 2023
d9d6d5f
docs: add the list of drivers and minimizers (#415)
njzjz Jan 31, 2023
4f1a911
add isort to sort imports (#418)
njzjz Feb 3, 2023
4688fd6
add .git-blame-ignore-revs to hide formatting changes in git blame (#…
njzjz Feb 3, 2023
18508af
follow the numpydoc style guide (#420)
njzjz Feb 5, 2023
d622c95
Add support for 'deepmd/mixed' format with dpdata.MultiSystems (#422)
iProzd Feb 23, 2023
aec7747
Correct the headers in README.md (#424)
iProzd Feb 24, 2023
06c21b6
fix: standardize the deepmd/npy/mixed format (#425)
iProzd Feb 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# .git-blame-ignore-revs
# pre-commit
ffa52c5d6230303d6f7ee4f1356f01aa5b2a011d
# pre-commit docs python block
ecdf566626c4b2d1824b946d1b7ad809cb8946dd
# pre-commit imports
4f1a91167b58f9042ae17cae05b609b7fdf5f20c
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/request-for-help.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Before asking questions, you can
search the previous issues or discussions
check the [README](https://github.com/deepmodeling/dpdata/#readme).

Please **do not** post requests for help (e.g. with installing or using dpdata) here.
Please **do not** post requests for help (e.g. with installing or using dpdata) here.
Instead go to [discussions](https://github.com/deepmodeling/dpdata/discussions).

This issue tracker is for tracking dpdata development related issues only.
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pub-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ jobs:
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}

6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@ jobs:
pass:
needs: [build]
runs-on: ubuntu-latest
if: always()
steps:
- run: echo "All jobs passed"
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
1 change: 0 additions & 1 deletion .github/workflows/test_import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ jobs:
architecture: 'x64'
- run: python -m pip install .
- run: python -c 'import dpdata'

41 changes: 41 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
# there are many log files in tests
# TODO: seperate py files and log files
- id: trailing-whitespace
exclude: "^tests/.*$"
- id: end-of-file-fixer
exclude: "^tests/.*$"
- id: check-yaml
- id: check-json
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
# Python
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black-jupyter
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
files: \.py$
# numpydoc
- repo: https://github.com/Carreau/velin
rev: 0.0.12
hooks:
- id: velin
args: ["--write"]
# Python inside docs
- repo: https://github.com/asottile/blacken-docs
rev: 1.13.0
hooks:
- id: blacken-docs
ci:
autoupdate_branch: devel
Loading