Skip to content

Commit

Permalink
make small changes to prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
ellesmith88 committed Oct 21, 2021
1 parent 88782ad commit aeed25a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -23,10 +23,10 @@ jobs:
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
- name: Lint with flake8
run: flake8 roocs_utils tests
if: matrix.python-version == 3.6
if: matrix.python-version == 3.7
- name: Check formatting with black
run: black --check --target-version py36 roocs_utils tests
if: matrix.python-version == 3.6
if: matrix.python-version == 3.7
- name: Test with pytest
run: |
pytest -v tests
2 changes: 1 addition & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Version History
===============

v0.5.0 (Unreleased)
v0.5.0 (2021-10-26)
-------------------
Bug Fixes
^^^^^^^^^
Expand Down
12 changes: 12 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,24 @@ Parameters
:undoc-members:
:show-inheritance:

.. automodule:: roocs_utils.parameter.time_components_parameter
:noindex:
:members:
:undoc-members:
:show-inheritance:

.. automodule:: roocs_utils.parameter.dimension_parameter
:noindex:
:members:
:undoc-members:
:show-inheritance:

.. automodule:: roocs_utils.parameter.param_utils
:noindex:
:members:
:undoc-members:
:show-inheritance:

.. automodule:: roocs_utils.parameter.parameterise
:noindex:
:members:
Expand Down
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py36, py37, py38, black, py37-windows, py38-macOS
envlist = py37, py38, black, py37-windows, py38-macOS
; docs
requires = pip >= 20.0
opts = -v
Expand All @@ -8,8 +8,7 @@ opts = -v
python =
3.8: py38
3.7: py37
3.6: py36
3.6: black
3.7: black
3.7: py37-windows
3.8: py38-macOS
; 3.6: docs
Expand All @@ -21,7 +20,7 @@ deps =
black
commands =
flake8 roocs_utils tests
black --check --target-version py36 roocs_utils tests --exclude tests/mini-esgf-data
black --check --target-version py37 roocs_utils tests --exclude tests/mini-esgf-data

;[testenv:docs]
;extras = docs
Expand Down

0 comments on commit aeed25a

Please sign in to comment.