forked from giovannipizzi/seekpath
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request giovannipizzi#89 from giovannipizzi/release_2.0.0a2
Release 2.0.0 ok seekpath
- Loading branch information
Showing
1,381 changed files
with
1,734 additions
and
541,776 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,44 @@ | ||
name: Continuous integration | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
precommit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Set up Python 3.6 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.6 | ||
|
||
- name: Install python dependencies | ||
run: | | ||
pip install -r optional-requirements.txt | ||
pip install -e .[dev,bz] | ||
pip freeze | ||
- name: Run pre-commit | ||
run: | ||
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 ) | ||
|
||
tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Set up Python 3.6 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.6 | ||
|
||
- name: Install python dependencies | ||
run: | | ||
pip install -e .[dev,bz] | ||
pip freeze | ||
- name: Run the tests | ||
run: 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 |
---|---|---|
|
@@ -6,4 +6,4 @@ seekpath.egg-info/ | |
.DS_Store | ||
.coverage | ||
.idea/ | ||
.vscode/ | ||
.vscode/ |
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,32 +1,18 @@ | ||
# yet another python formatter | ||
- repo: git://github.com/pre-commit/mirrors-yapf | ||
rev: v0.29.0 | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.2.3 | ||
hooks: | ||
- id: yapf | ||
language: system | ||
files: >- | ||
(?x)^( | ||
seekpath/.*.py| | ||
webservice/.*.py| | ||
docs/source/conf.py| | ||
run_tests.py| | ||
setup.py | ||
)$ | ||
- id: trailing-whitespace | ||
|
||
# prospector: collection of linters | ||
#- repo: git://github.com/guykisel/prospector-mirror | ||
# rev: b27f281eb9398fc8504415d7fbdabf119ea8c5e1 | ||
- repo: https://github.com/ambv/black | ||
rev: 19.10b0 | ||
hooks: | ||
- id: black | ||
|
||
#- repo: local | ||
# hooks: | ||
# - id: prospector | ||
# language: system | ||
# types: [file, python] | ||
# files: >- | ||
# (?x)^( | ||
# seekpath/.*.py| | ||
# webservice/.*.py| | ||
# docs/source/conf.py| | ||
# run_tests.py| | ||
# setup.py | ||
# )$ | ||
|
||
|
||
# name: prospector | ||
# description: "This hook runs Prospector: https://github.com/landscapeio/prospector" | ||
# entry: prospector |
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,2 @@ | ||
mccabe: | ||
run: false |
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,19 @@ | ||
[MASTER] | ||
disable=import-outside-toplevel,bad-continuation,locally-disabled,invalid-name,too-many-locals,too-many-statements,too-many-return-statements,too-many-branches | ||
|
||
[DESIGN] | ||
|
||
# Maximum number of arguments for function / method | ||
max-args=10 | ||
|
||
# Maximum number of attributes for a class (see R0902). | ||
max-attributes=12 | ||
|
||
# Maximum number of branch for function / method body | ||
max-branches=12 | ||
|
||
# Maximum number of locals for function / method body | ||
max-locals=30 | ||
|
||
# Maximum number of characters on a single line. | ||
max-line-length=120 |
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,6 @@ | ||
# v2.0.0 | ||
- Dropped python 2 support | ||
- Moved out the web tool to [tools-seekpath](https://github.com/materialscloud-org/tools-seekpath), based on [tools-barebone](https://github.com/materialscloud-org/tools-barebone), whose codebases mostly take inspiration from the web tool implemented in seekpath v1.x | ||
|
||
# v1.x | ||
First versions of seekpath, supportinb both python 2 an python 3, and providing a web tool to interactively inspect the results of seekpath (hosted on the [Materials Cloud tools section](http://www.materialscloud.org/tools/seekpath/)). |
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
Oops, something went wrong.