-
Notifications
You must be signed in to change notification settings - Fork 4
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 #27 from MeteoSwiss-APN/new-blueprint
Adaptation to blueprint + Update to Python 3.10
- Loading branch information
Showing
96 changed files
with
28,142 additions
and
28,461 deletions.
There are no files selected for viewing
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,17 @@ | ||
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY | ||
_commit: cc8b3de | ||
_src_path: [email protected]:MeteoSwiss-APN/mch-python-blueprint.git | ||
email: [email protected] | ||
full_name: Stefan Ruedisuehli | ||
github_username: MeteoSwiss-APN | ||
module_name: pyflexplot | ||
project_doc_url: https://github.io/MeteoSwiss-APN/pyflexplot | ||
project_github: https://github.com/MeteoSwiss-APN/pyflexplot | ||
project_keywords: Dispersion, Flexpart, COSMO, mapping, visualization | ||
project_name: PyFlexPlot | ||
project_short_description: Stefan Ruedisuehli's PyFlexPlot | ||
project_slug: pyflexplot | ||
project_ssh_url: git+ssh://[email protected]/MeteoSwiss-APN/pyflexplot.git | ||
python_version: '3.10' | ||
version: 1.0.10 | ||
year: '2023' |
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,40 @@ | ||
name: Run pre-commit in blueprint | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
blueprint-pre-commit: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.11.0 | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
miniconda-version: "latest" | ||
channels: conda-forge | ||
channel-priority: flexible | ||
show-channel-urls: true | ||
- name: Create env from unpinned reqs | ||
run: | | ||
conda env create --name dev_env --file requirements/requirements.yml | ||
- name: Install project into env | ||
run: | | ||
conda run --name dev_env pip install --no-deps . | ||
- name: Install pre-commit hooks | ||
run: | | ||
conda run --name dev_env pre-commit install-hooks | ||
- name: Run pre-commit hooks | ||
run: | | ||
conda run --name dev_env pre-commit run --all-files |
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,9 @@ | ||
# Credits | ||
|
||
## Development Lead | ||
|
||
- Stefan Ruedisuehli <[email protected]> | ||
|
||
## Contributors | ||
|
||
None yet. Why not be the first? |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.