Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Formatting and update the binder related stuff
- Loading branch information
Showing
15 changed files
with
94 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,4 @@ jobs: | |
- name: Test with pytest | ||
shell: bash -el {0} | ||
run: | | ||
pytest | ||
pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
*.egg-info | ||
*.pyc | ||
*.bak | ||
*.bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,44 @@ | ||
exclude: '^(doc)|(cookiecutters)' | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.5.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
exclude: (example) | ||
- id: end-of-file-fixer | ||
exclude: (example) | ||
- id: check-yaml | ||
exclude: (example) | ||
args: ['--unsafe'] | ||
- id: check-json | ||
exclude: (example) | ||
- id: check-added-large-files | ||
exclude: (example|tests/test_data/PROCAR.mgo) | ||
- id: double-quote-string-fixer | ||
exclude: (example) | ||
- id: forbid-new-submodules | ||
exclude: (example) | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 23.3.0 | ||
hooks: | ||
- id: black | ||
# It is recommended to specify the latest version of Python | ||
# supported by your project here, or alternatively use | ||
# pre-commit's default_language_version, see | ||
# https://pre-commit.com/#top_level-default_language_version | ||
language_version: python3.9 | ||
|
||
- repo: local | ||
hooks: | ||
# yapf = yet another python formatter | ||
- id: yapf | ||
name: yapf | ||
entry: yapf | ||
language: system | ||
- id: pylint | ||
name: pylint | ||
entry: pylint | ||
types: [python] | ||
args: ["-i"] | ||
language: system | ||
exclude: | | ||
(?x)( | ||
^tutorials/| | ||
^examples/| | ||
^tests | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: airsspy | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- airss | ||
- ase | ||
- pip: | ||
- castepinput |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[build-system] | ||
requires = ["flit_core >=3.2,<4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
|
||
[project] | ||
name = "airsspy" | ||
version = "0.1.4" | ||
description = "A wrapper for using AIRSS with python and ase." | ||
authors = [{name = "Bonan Zhu", email = "zhubonan@outlook.com"}] | ||
readme = "README.md" | ||
license = {file = "LICENSE"} | ||
|
||
dependencies = ['ase~=3.17', 'castepinput~=0.1'] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/zhubonan/airsspy" | ||
|
||
[project.optional-dependencies] | ||
|
||
testing = ['pytest'] | ||
"pre-commit" = ['pre-commit'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.