Skip to content

Commit dbe9e2b

Browse files
authoredJul 20, 2024··
Merge pull request #47 from ayasyrev/dev_0.2.5
Dev 0.2.5
2 parents 9fe410a + 829c525 commit dbe9e2b

19 files changed

+446
-371
lines changed
 

‎.flake8

-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,3 @@ extend-ignore = W503
66
disable-noqa = True
77
application-import-names = benchmark_utils, tests
88
import-order-style = google
9-
10-
per-file-ignores =
11-
# imported but unused
12-
__init__.py: F401

‎.github/workflows/coverage.yml

-19
This file was deleted.

‎.github/workflows/deploy_docs.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ name: Deploy_docs
22
on:
33
push:
44
branches:
5-
- master
65
- main
76
jobs:
87
deploy:
98
runs-on: ubuntu-latest
109
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions/setup-python@v2
10+
- uses: actions/checkout@main
11+
- uses: actions/setup-python@main
1312
with:
1413
python-version: 3.x
1514
- run: pip install mkdocs-material

‎.github/workflows/lint.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: Lint
22
on:
33
push:
44
branches:
5-
- dev
5+
- dev
66
- main
77
jobs:
88
tests:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions/setup-python@v2
11+
- uses: actions/checkout@main
12+
- uses: actions/setup-python@main
1313
with:
1414
python-version: "3.11"
1515
architecture: x64
16-
- run: pip install nox
17-
- run: nox -p "3.11" -f noxfile_lint.py
16+
- run: pip install ruff
17+
- run: ruff check .

‎.github/workflows/tests.yml

+20-7
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,33 @@ name: Tests
22
on:
33
push:
44
branches:
5-
- dev
5+
- dev
66
- main
77
jobs:
88
tests:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python: ["3.8", "3.9", "3.10", "3.11",]
13-
name: Python ${{ matrix.python }}
12+
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1413
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-python@v2
14+
- name: Checkout
15+
uses: actions/checkout@main
16+
- name: Setup Python ${{ matrix.python }}
17+
uses: actions/setup-python@main
1718
with:
1819
python-version: ${{ matrix.python }}
1920
architecture: x64
20-
- run: pip install nox
21-
- run: nox -p ${{ matrix.python }}
21+
22+
- name: Install
23+
run: |
24+
pip install uv
25+
uv pip install --system .[test] "coverage[toml]"
26+
- name: Tests
27+
run: pytest --cov
28+
29+
- name: Coverage
30+
if: ${{ matrix.python == '3.11' }}
31+
uses: codecov/codecov-action@main
32+
with:
33+
token: ${{ secrets.CODECOV_TOKEN }}
34+
slug: ayasyrev/argparsecfg

‎.pre-commit-config.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
repos:
2+
- repo: https://github.com/ayasyrev/nbmetaclean
3+
rev: 0.0.7
4+
hooks:
5+
- id: nbclean
6+
name: nbclean
7+
entry: nbclean

0 commit comments

Comments
 (0)
Please sign in to comment.