-
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.
update libraries, fix tests, and support py3.11
update libraries, fix tests, and support py3.11
- Loading branch information
Showing
8 changed files
with
44 additions
and
35 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
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 |
---|---|---|
|
@@ -13,4 +13,5 @@ build/* | |
*.egg-info | ||
dist | ||
.DS_Store | ||
*/.DS_Store | ||
*/.DS_Store | ||
venv |
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,2 +1,2 @@ | ||
[pytest] | ||
addopts = --cov=pre_commit_hooks --cov-report term-missing --cov-fail-under 65 --no-cov-on-fail | ||
addopts = --cov=pre_commit_hooks --cov-fail-under 65 --no-cov-on-fail --cov-report term-missing |
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 @@ | ||
covdefaults | ||
pre-commit | ||
pylint==2.15.5 | ||
pylint | ||
pytest | ||
pytest-cov |
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,7 +1,6 @@ | ||
GitPython==3.1.29 | ||
lenses~=1.1.0 | ||
pytest==7.2.0 | ||
python-gitlab==3.11.0 | ||
python-gitlab==3.12.0 | ||
PyYAML~=6.0 | ||
requests~=2.28.1 | ||
setuptools==65.5.0 | ||
setuptools==65.6.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
[tox] | ||
envlist = python3.7,py38,py39,py310,pre-commit | ||
envlist = clean,py38,py39,py310,py311,pre-commit | ||
|
||
[testenv] | ||
deps = | ||
-r requirements-dev.txt | ||
-r requirements.txt | ||
|
||
depends = | ||
{py38,py39,py310}: clean | ||
setenv = | ||
GIT_AUTHOR_NAME = "test" | ||
GIT_COMMITTER_NAME = "test" | ||
GIT_AUTHOR_EMAIL = "[email protected]" | ||
GIT_COMMITTER_EMAIL = "[email protected]" | ||
commands = | ||
coverage erase | ||
coverage run -m pytest {posargs:tests} | ||
coverage report | ||
pytest --cov --cov-append --cov-report=term-missing {posargs:tests} | ||
|
||
[testenv:clean] | ||
deps = pytest-cov | ||
covdefaults | ||
coverage | ||
skip_install = true | ||
commands = coverage erase | ||
|
||
[testenv:pre-commit] | ||
deps = pre-commit | ||
commands = pre-commit run --all-files --show-diff-on-failure | ||
commands = pre-commit run --all-files --verbose | ||
|
||
[pep8] | ||
ignore=E265,E501,W504,E203,F841 |