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

[Auto-generated] Update dependencies #54

Merged
merged 6 commits into from
Jun 9, 2022
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
4 changes: 2 additions & 2 deletions .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
fetch-depth: 0

- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
ref: ${{ env.PUBLISH_UPDATE_BRANCH }}

- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd_updated_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:

- name: Set up Python 3.9
if: env.RELEASE_RUN == 'false'
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
ref: master

- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:

- name: Fetch PR body
id: pr_body
uses: chuhlomin/render-template@v1.4
uses: chuhlomin/render-template@v1.5
with:
template: .github/utils/single_dependency_pr_body.txt

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3

- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
fetch-depth: 2

- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand All @@ -65,10 +65,10 @@ jobs:
pip install safety

- name: Run pylint
run: pylint --rcfile=.pylintrc --ignore-paths=tests/ --extension-pkg-whitelist='pydantic' -- *.py oteapi_dlite
run: pylint --rcfile=.pylintrc --ignore-paths=tests/ --extension-pkg-whitelist='pydantic' *.py oteapi_dlite

- name: Run pylint - tests
run: pylint --rcfile=.pylintrc --extension-pkg-whitelist='pydantic' --disable=C0415,W0621 -- tests
run: pylint --rcfile=.pylintrc --extension-pkg-whitelist='pydantic' --disable=C0415,W0621 tests

# Ignore ID 44715 for now.
# See this NumPy issue for more information: https://github.com/numpy/numpy/issues/19038
Expand All @@ -90,7 +90,7 @@ jobs:
fetch-depth: 2

- name: Set up Python ${{ matrix.python-version}}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version}}

Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
fetch-depth: 2

- name: Set up Python ${{ matrix.python-version}}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version}}

Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9

Expand All @@ -174,7 +174,7 @@ jobs:
with:
fetch-depth: 2

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# pre-commit autoupdate
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.3.0
hooks:
- id: end-of-file-fixer
- id: debug-statements
Expand Down Expand Up @@ -37,7 +37,7 @@ repos:
files: ^oteapi_dlite/.*$

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.950
rev: v0.961
hooks:
- id: mypy
exclude: ^tests/.*$
Expand Down
17 changes: 8 additions & 9 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ plugins:
default_handler: python
handlers:
python:
rendering:
options:
show_root_heading: false
show_root_toc_entry: true
show_root_full_path: true
Expand All @@ -65,7 +65,6 @@ plugins:
show_bases: true
group_by_category: true
heading_level: 2
selection:
filters:
- "!^_"
- "^__init__$"
Expand All @@ -74,14 +73,14 @@ plugins:
- "!__config__$"
- "!__str__$"
- "!__repr__$"
members: true
inherited_members: false
members: null
# inherited_members: false
docstring_style: google
docstring_options:
replace_admonitions: true
setup_commands:
- import os
- os.environ["MKDOCS_BUILD"] = "1"
# docstring_options:
# replace_admonitions: true
# setup_commands:
# - import os
# - os.environ["MKDOCS_BUILD"] = "1"
watch:
- oteapi_dlite
- awesome-pages
Expand Down
2 changes: 1 addition & 1 deletion oteapi_dlite/strategies/filter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Trivial filter that adds an empty collection to the session."""
# pylint: disable=no-self-use,unused-argument
# pylint: disable=unused-argument
from typing import TYPE_CHECKING, Any, Dict

import dlite
Expand Down
2 changes: 1 addition & 1 deletion oteapi_dlite/strategies/parse_excel.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Strategy for parsing an Excel spreadsheet to a DLite instance."""
# pylint: disable=no-self-use,unused-argument
# pylint: disable=unused-argument
import re
from random import getrandbits
from typing import TYPE_CHECKING, Optional
Expand Down
1 change: 0 additions & 1 deletion oteapi_dlite/strategies/parse_image.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Strategy class for parsing an image to a DLite instance."""
# pylint: disable=no-self-use
import logging
from typing import TYPE_CHECKING

Expand Down
1 change: 0 additions & 1 deletion oteapi_dlite/strategies/serialise.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Filter for serialisation using DLite."""
# pylint: disable=no-self-use
from pathlib import Path
from typing import TYPE_CHECKING, Optional, Sequence

Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pre-commit~=2.19
pylint~=2.13
pylint~=2.14
pytest~=7.1
pytest-cov~=3.0
4 changes: 2 additions & 2 deletions requirements_docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ invoke~=1.7
mike~=1.1
mkdocs~=1.3
mkdocs-awesome-pages-plugin~=2.7
mkdocs-material~=8.2
mkdocstrings[python]~=0.18.1
mkdocs-material~=8.3
mkdocstrings[python]~=0.19.0