-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python QA refresh with GitHub checks
Signed-off-by: Nic Boet <[email protected]>
- Loading branch information
Showing
12 changed files
with
551 additions
and
660 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,6 @@ | ||
--- | ||
|
||
extends: default | ||
|
||
rules: | ||
truthy: disable |
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,26 @@ | ||
--- | ||
name: Python package | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.11', '3.12'] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install tox tox-gh-actions | ||
- name: Test with tox | ||
run: tox |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,8 +1,8 @@ | ||
[tool.poetry] | ||
name = "zm-py" | ||
version = "0.1.0" | ||
version = "0.5.3" | ||
description = "" | ||
authors = ["Rohan Kapoor <[email protected]>"] | ||
authors = ["Rohan Kapoor <[email protected]>","Nic Boet <[email protected]>"] | ||
license = "Apache-2.0" | ||
|
||
readme = "README.md" | ||
|
@@ -16,20 +16,21 @@ packages = [ | |
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
python = "^3.11" | ||
requests = ">=2.0" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^4.6" | ||
pylint = "^2.5.2" | ||
pydocstyle = "^5.0.2" | ||
mypy = "^0.770" | ||
flake8 = "^3.8.1" | ||
flake8-docstrings = "^1.5.0" | ||
colorlog = "^4.1.0" | ||
requests = "^2.23.0" | ||
tox = "^3.15.0" | ||
autopep8 = "^1.5.2" | ||
pytest = "^7.4.3" | ||
pylint = "^3.0.3" | ||
pydocstyle = "^6.3.0" | ||
mypy = "^1.8.0" | ||
flake8 = "^6.1.0" | ||
flake8-docstrings = "^1.7.0" | ||
colorlog = "^6.8.0" | ||
requests = "^2.31.0" | ||
tox = "^4.11.4" | ||
autopep8 = "^2.0.4" | ||
platformdirs = "<4.0.0" | ||
|
||
[tool.black] | ||
line-length = 100 | ||
|
@@ -49,5 +50,5 @@ exclude = ''' | |
''' | ||
|
||
[build-system] | ||
requires = ["poetry>=0.12"] | ||
requires = ["poetry>=1.7.1"] | ||
build-backend = "poetry.masonry.api" |
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,12 +1,12 @@ | ||
# linters such as flake8 and pylint should be pinned, as new releases | ||
# make new things fail. Manually update these pins when pulling in a | ||
# new version | ||
black==20.8b1 | ||
colorlog==3.1.4 | ||
flake8-docstrings==1.3.0 | ||
flake8==3.5 | ||
mypy==0.782 | ||
pydocstyle==2.1.1 | ||
pylint==2.6.0 | ||
black==23.12.1 | ||
colorlog==6.8.0 | ||
flake8-docstrings==1.7.0 | ||
flake8==6.1.0 | ||
mypy==1.8.0 | ||
pydocstyle==6.3.0 | ||
pylint==3.0.3 | ||
pylint-strict-informational==0.1 | ||
pytest==3.8.0 | ||
pytest==7.4.3 |
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