Bump requirements.
It's hard to get a freezed set of dependencies working in all tested versions, so I unpin them from tox.
This commit is contained in:
parent
cafe8f8630
commit
8b0d6d8778
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: .tox
|
path: .tox
|
||||||
key: ${{ matrix.tox.python-version }}-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements-dev.txt') }}
|
key: ${{ matrix.tox.python-version }}-${{ hashFiles('tox.ini') }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|
13
README.md
13
README.md
|
@ -71,10 +71,15 @@ per line.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
In a venv, install the dev requirements:
|
You can work in a venv, to install the project locally:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python3 -m venv --prompt pospell .venv
|
python -m pip install .
|
||||||
source .venv/bin/activate
|
```
|
||||||
python3 -m pip install -r requirements-dev.txt
|
|
||||||
|
And to test it locally:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
python -m pip install tox
|
||||||
|
tox -p all
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
bandit
|
|
||||||
black
|
|
||||||
coverage
|
|
||||||
flake8
|
|
||||||
isort
|
|
||||||
mypy
|
|
||||||
pylint
|
|
||||||
pytest
|
|
|
@ -1,92 +0,0 @@
|
||||||
#
|
|
||||||
# This file is autogenerated by pip-compile with python 3.9
|
|
||||||
# To update, run:
|
|
||||||
#
|
|
||||||
# pip-compile requirements-dev.in
|
|
||||||
#
|
|
||||||
appdirs==1.4.4
|
|
||||||
# via black
|
|
||||||
astroid==2.4.2
|
|
||||||
# via pylint
|
|
||||||
attrs==20.3.0
|
|
||||||
# via pytest
|
|
||||||
bandit==1.6.2
|
|
||||||
# via -r requirements-dev.in
|
|
||||||
black==20.8b1
|
|
||||||
# via -r requirements-dev.in
|
|
||||||
click==7.1.2
|
|
||||||
# via black
|
|
||||||
coverage==5.3
|
|
||||||
# via -r requirements-dev.in
|
|
||||||
flake8==3.8.4
|
|
||||||
# via -r requirements-dev.in
|
|
||||||
gitdb==4.0.5
|
|
||||||
# via gitpython
|
|
||||||
gitpython==3.1.11
|
|
||||||
# via bandit
|
|
||||||
iniconfig==1.1.1
|
|
||||||
# via pytest
|
|
||||||
isort==5.6.4
|
|
||||||
# via
|
|
||||||
# -r requirements-dev.in
|
|
||||||
# pylint
|
|
||||||
lazy-object-proxy==1.4.3
|
|
||||||
# via astroid
|
|
||||||
mccabe==0.6.1
|
|
||||||
# via
|
|
||||||
# flake8
|
|
||||||
# pylint
|
|
||||||
mypy==0.790
|
|
||||||
# via -r requirements-dev.in
|
|
||||||
mypy-extensions==0.4.3
|
|
||||||
# via
|
|
||||||
# black
|
|
||||||
# mypy
|
|
||||||
packaging==20.4
|
|
||||||
# via pytest
|
|
||||||
pathspec==0.8.1
|
|
||||||
# via black
|
|
||||||
pbr==5.5.1
|
|
||||||
# via stevedore
|
|
||||||
pluggy==0.13.1
|
|
||||||
# via pytest
|
|
||||||
py==1.9.0
|
|
||||||
# via pytest
|
|
||||||
pycodestyle==2.6.0
|
|
||||||
# via flake8
|
|
||||||
pyflakes==2.2.0
|
|
||||||
# via flake8
|
|
||||||
pylint==2.6.0
|
|
||||||
# via -r requirements-dev.in
|
|
||||||
pyparsing==2.4.7
|
|
||||||
# via packaging
|
|
||||||
pytest==6.1.2
|
|
||||||
# via -r requirements-dev.in
|
|
||||||
pyyaml==5.3.1
|
|
||||||
# via bandit
|
|
||||||
regex==2020.11.13
|
|
||||||
# via black
|
|
||||||
six==1.15.0
|
|
||||||
# via
|
|
||||||
# astroid
|
|
||||||
# bandit
|
|
||||||
# packaging
|
|
||||||
smmap==3.0.4
|
|
||||||
# via gitdb
|
|
||||||
stevedore==3.2.2
|
|
||||||
# via bandit
|
|
||||||
toml==0.10.2
|
|
||||||
# via
|
|
||||||
# black
|
|
||||||
# pylint
|
|
||||||
# pytest
|
|
||||||
typed-ast==1.4.1
|
|
||||||
# via
|
|
||||||
# black
|
|
||||||
# mypy
|
|
||||||
typing-extensions==3.7.4.3
|
|
||||||
# via
|
|
||||||
# black
|
|
||||||
# mypy
|
|
||||||
wrapt==1.12.1
|
|
||||||
# via astroid
|
|
4
tox.ini
4
tox.ini
|
@ -27,7 +27,9 @@ isolated_build = True
|
||||||
skip_missing_interpreters = True
|
skip_missing_interpreters = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps = -r requirements-dev.txt
|
deps =
|
||||||
|
pytest
|
||||||
|
coverage
|
||||||
commands = coverage run -m pytest
|
commands = coverage run -m pytest
|
||||||
setenv =
|
setenv =
|
||||||
COVERAGE_FILE={toxworkdir}/.coverage.{envname}
|
COVERAGE_FILE={toxworkdir}/.coverage.{envname}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user