-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update dev dependencies (#27)
- Loading branch information
Showing
8 changed files
with
56 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Lint | ||
|
||
# If a pull-request is pushed then cancel all previously running jobs related | ||
# to that pull-request | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
env: | ||
PY_COLORS: 1 | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.0 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v4.7.0 | ||
with: | ||
python-version: "3.11" | ||
- run: pip install --upgrade tox | ||
- name: Run commitizen (https://commitizen-tools.github.io/commitizen/) | ||
run: tox -e cz | ||
- name: Run black code formatter (https://black.readthedocs.io/en/stable/) | ||
run: tox -e black -- --check | ||
- name: Run flake8 (https://flake8.pycqa.org/en/latest/) | ||
run: tox -e flake8 | ||
- name: Run mypy static typing checker (http://mypy-lang.org/) | ||
run: tox -e mypy | ||
- name: Run isort import order checker (https://pycqa.github.io/isort/) | ||
run: tox -e isort -- --check | ||
- name: Run pylint Python code static checker (/~https://github.com/PyCQA/pylint) | ||
run: tox -e pylint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
""" Manage a single transaction. | ||
""" | ||
|
||
import concurrent.futures as cf | ||
import os | ||
import re | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
-r requirements.txt | ||
build==1.0.3 | ||
black==23.1.0 | ||
commitizen==2.42.1 | ||
flake8==6.0.0 | ||
isort==5.12.0 | ||
mypy==1.1.1 | ||
pylint==2.17.1 | ||
pytest==7.2.2 | ||
black==24.3.0 | ||
commitizen==3.20.0 | ||
flake8==7.0.0 | ||
isort==5.13.2 | ||
mypy==1.9.0 | ||
pylint==3.1.0 | ||
pytest==8.1.1 | ||
types-setuptools==65.7.0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters