Skip to content

Commit b2481c2

Browse files
Switch to pyproject.toml optional (dev) dependences; Add Spell Check (#107)
* Update on python 3.12 * Update .github/workflows/unittests.yml Co-authored-by: konstantin <[email protected]> * firsts * Update setup.cfg Co-authored-by: konstantin <[email protected]> * Update setup.cfg Co-authored-by: konstantin <[email protected]> * ... * ... * Fix * add frist * update url * Update .github/workflows/main_fristenkalender.yml Co-authored-by: konstantin <[email protected]> * update * kick piptools * oo * Revert "oo" This reverts commit f541729. * Update pyproject.toml Co-authored-by: konstantin <[email protected]> * cov update --------- Co-authored-by: konstantin <[email protected]>
1 parent c5c9470 commit b2481c2

17 files changed

+121
-94
lines changed

.github/workflows/formatting.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: "Formatting"
22

3-
on: [push]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request: {}
47
jobs:
58
black:
69
runs-on: ${{ matrix.os }}
@@ -18,7 +21,7 @@ jobs:
1821
- name: Install dependencies
1922
run: |
2023
python -m pip install --upgrade pip
21-
pip install -r dev_requirements/requirements-formatting.txt
24+
pip install .[formatting]
2225
- name: ${{ matrix.tool }} Code Formatter
2326
run: |
2427
${{ matrix.tool }} . --check

.github/workflows/main_fristenkalender.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
PYTHON_VERSION: '3.11' # set this to the python version to use (supports 3.6, 3.7, 3.8)
1616

1717

18+
1819
jobs:
1920
build:
2021
runs-on: ubuntu-latest

.github/workflows/pythonlint.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: "Linting"
22

3-
on: [push]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request: {}
47
jobs:
58
pylint:
69
name: Python Code Quality and Lint
@@ -9,7 +12,7 @@ jobs:
912
matrix:
1013
python-version: ["3.12"]
1114
os: [ubuntu-latest]
12-
linter-env: ["linting", "type_check"]
15+
linter-env: ["linting", "type_check", "spell_check"]
1316
steps:
1417
- uses: actions/checkout@v4
1518
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/unittests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: "Unittests"
22

3-
on: [push]
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request: {}
47
jobs:
58
pytest:
69
runs-on: ${{ matrix.os }}

dev_requirements/requirements-coverage.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

dev_requirements/requirements-coverage.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

dev_requirements/requirements-formatting.in

Lines changed: 0 additions & 3 deletions
This file was deleted.

dev_requirements/requirements-formatting.txt

Lines changed: 0 additions & 24 deletions
This file was deleted.

dev_requirements/requirements-linting.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

dev_requirements/requirements-tests.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)