Skip to content

Commit

Permalink
Merge pull request #47 from ayasyrev/dev_0.2.5
Browse files Browse the repository at this point in the history
Dev 0.2.5
  • Loading branch information
ayasyrev authored Jul 20, 2024
2 parents 9fe410a + 829c525 commit dbe9e2b
Show file tree
Hide file tree
Showing 19 changed files with 446 additions and 371 deletions.
4 changes: 0 additions & 4 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ extend-ignore = W503
disable-noqa = True
application-import-names = benchmark_utils, tests
import-order-style = google

per-file-ignores =
# imported but unused
__init__.py: F401
19 changes: 0 additions & 19 deletions .github/workflows/coverage.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ name: Deploy_docs
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v2
- uses: actions/checkout@main
- uses: actions/setup-python@main
with:
python-version: 3.x
- run: pip install mkdocs-material
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: Lint
on:
push:
branches:
- dev
- dev
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v2
- uses: actions/checkout@main
- uses: actions/setup-python@main
with:
python-version: "3.11"
architecture: x64
- run: pip install nox
- run: nox -p "3.11" -f noxfile_lint.py
- run: pip install ruff
- run: ruff check .
27 changes: 20 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,33 @@ name: Tests
on:
push:
branches:
- dev
- dev
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11",]
name: Python ${{ matrix.python }}
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v2
- name: Checkout
uses: actions/checkout@main
- name: Setup Python ${{ matrix.python }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python }}
architecture: x64
- run: pip install nox
- run: nox -p ${{ matrix.python }}

- name: Install
run: |
pip install uv
uv pip install --system .[test] "coverage[toml]"
- name: Tests
run: pytest --cov

- name: Coverage
if: ${{ matrix.python == '3.11' }}
uses: codecov/codecov-action@main
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ayasyrev/argparsecfg
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/ayasyrev/nbmetaclean
rev: 0.0.7
hooks:
- id: nbclean
name: nbclean
entry: nbclean
Loading

0 comments on commit dbe9e2b

Please sign in to comment.