Skip to content

Commit

Permalink
build: misc small build, ci, and refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
timcera committed Jan 8, 2023
1 parent 1301bf9 commit 015e705
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.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.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
Expand Down
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-case-conflict
- id: check-docstring-first
Expand All @@ -24,14 +24,14 @@ repos:


- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.4.0
rev: v2.5.0
hooks:
# - id: pretty-format-toml
# args: [--autofix]
- id: pretty-format-java
args: [--autofix]
- id: pretty-format-kotlin
args: [--autofix]
- id: pretty-format-toml
args: [--autofix]

- repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0
Expand All @@ -45,13 +45,13 @@ repos:
- id: yamlfmt

- repo: https://github.com/psf/black
rev: 22.10.0
rev: 22.12.0
hooks:
- id: black
language_version: python

- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.11.4
hooks:
- id: isort
name: isort (python)
Expand Down Expand Up @@ -79,18 +79,18 @@ repos:
- id: blacken-docs

- repo: https://github.com/asottile/pyupgrade
rev: v3.2.0
rev: v3.3.1
hooks:
- id: pyupgrade

- repo: https://github.com/commitizen-tools/commitizen
rev: v2.37.0
rev: v2.39.1
hooks:
- id: commitizen
stages: [commit-msg]

- repo: https://github.com/mwouts/jupytext
rev: v1.14.1
rev: v1.14.4
hooks:
- id: jupytext
args: [--from, ipynb, --to, auto:percent, --sync]
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down Expand Up @@ -94,3 +95,6 @@ wdmtoolbox = ["message.wdm"]
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["examples*", "tools*", "docs*", "tstoolbox.tests*"]

[tool.isort]
profile = "black"

0 comments on commit 015e705

Please sign in to comment.