Skip to content

Commit

Permalink
Merge pull request #93 from grok-ai/develop
Browse files Browse the repository at this point in the history
Release 0.3.1
  • Loading branch information
lucmos authored Aug 31, 2023
2 parents 0adc93d + 6be9db1 commit 8471d9a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
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

0 comments on commit 8471d9a

Please sign in to comment.