Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.3.1 #93

Merged
merged 5 commits into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.11']
python-version: ['3.11']
include:
- os: ubuntu-20.04
label: linux-64
Expand Down
2 changes: 1 addition & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"repository_url": "https://github.com/{{ cookiecutter.github_user }}/{{ cookiecutter.project_name.strip().lower().replace(' ', '-') }}",
"conda_env_name": "{{ cookiecutter.project_name.strip().lower().replace(' ', '-') }}",
"python_version": "3.11",
"__version": "0.3.0"
"__version": "0.3.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9']
python-version: ['3.11']
include:
- os: ubuntu-20.04
label: linux-64
Expand Down Expand Up @@ -61,6 +61,13 @@ jobs:
sed -Ei '/^\s*-?\s*python\s*([#=].*)?$/d' ${{ env.CONDA_ENV_FILE }}
cat ${{ env.CONDA_ENV_FILE }}

# Install torch cpu-only
- name: Install torch cpu only
shell: bash -l {0}
run: |
sed -i '/nvidia\|cuda/d' ${{ env.CONDA_ENV_FILE }}
cat ${{ env.CONDA_ENV_FILE }}

- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down
14 changes: 7 additions & 7 deletions {{ cookiecutter.repository_name }}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,37 +45,37 @@ repos:
- id: isort

- repo: https://github.com/psf/black.git
rev: '22.3.0'
rev: '23.7.0'
hooks:
- id: black
- id: black-jupyter

- repo: https://github.com/asottile/blacken-docs.git
rev: 'v1.12.1'
rev: '1.16.0'
hooks:
- id: blacken-docs

- repo: https://github.com/PyCQA/flake8.git
rev: '4.0.1'
rev: '6.1.0'
hooks:
- id: flake8
additional_dependencies:
- flake8-docstrings==1.6.0
- flake8-docstrings==1.7.0

- repo: https://github.com/pycqa/pydocstyle.git
rev: '6.1.1'
rev: '6.3.0'
hooks:
- id: pydocstyle
additional_dependencies:
- toml

- repo: https://github.com/kynan/nbstripout.git
rev: '0.5.0'
rev: '0.6.1'
hooks:
- id: nbstripout

- repo: https://github.com/PyCQA/bandit
rev: '1.7.4'
rev: '1.7.5'
hooks:
- id: bandit
args: ['-c', 'pyproject.toml', '--recursive', 'src']
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.repository_name }}/env.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: {{ cookiecutter.conda_env_name }}
channels:
- defaults
- pytorch
- nvidia
- defaults

dependencies:
- python={{ cookiecutter.python_version }}
Expand Down
Loading