Skip to content

Commit b32b4b2

Browse files
authored
chore(ci): pins deps and enables dependabot (#253)
1 parent f879856 commit b32b4b2

22 files changed

+203
-65
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
# master
4+
- package-ecosystem: "pip"
5+
directory: "/dev_requirements"
6+
schedule:
7+
interval: "daily"
8+
9+
# Github Actions
10+
- package-ecosystem: "github-actions"
11+
directory: "/"
12+
schedule:
13+
interval: "daily"

.github/workflows/ci_static-analysis.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
category:
18-
- mypy-py2
1918
- mypy-py3
2019
- bandit
2120
- doc8
@@ -24,17 +23,19 @@ jobs:
2423
- flake8
2524
- pylint
2625
- flake8-tests
26+
- flake8-examples
2727
- pylint-tests
28+
- pylint-examples
2829
- black-check
2930
- isort-check
3031
steps:
3132
- uses: actions/checkout@v2
3233
- uses: actions/setup-python@v2
3334
with:
34-
python-version: 3.x
35+
python-version: 3.8
3536
- run: |
3637
python -m pip install --upgrade pip
37-
pip install --upgrade -r ci-requirements.txt
38+
pip install --upgrade -r dev_requirements/ci-requirements.txt
3839
- name: check
3940
env:
4041
TOXENV: ${{ matrix.category }}

.github/workflows/ci_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
architecture: ${{ matrix.platform.architecture }}
4444
- run: |
4545
python -m pip install --upgrade pip
46-
pip install --upgrade -r ci-requirements.txt
46+
pip install --upgrade -r dev_requirements/ci-requirements.txt
4747
- name: run test
4848
env:
4949
TOXENV: ${{ matrix.category }}

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ submodules:
1717
python:
1818
version: 3.8
1919
install:
20-
- requirements: doc/requirements.txt
20+
- requirements: dev_requirements/doc-requirements.txt
2121
- method: setuptools
2222
path: .

ci-requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tox==3.24.5
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
coverage==4.5.4
2+
mypy==0.812
3+
mypy-extensions==0.4.3
4+
typing==3.7.4.3
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
bandit==1.7.2
2+
black==22.1.0
3+
doc8==0.10.1
4+
flake8==4.0.1
5+
flake8-docstrings==1.6.0
6+
flake8-print==4.0.0
7+
isort==5.10.1
8+
mock==4.0.3
9+
mypy==0.812
10+
pyflakes==2.4.0
11+
pylint==2.12.2
12+
pytest==7.0.0
13+
pytest-cov==3.0.0
14+
pytest-mock==3.6.1
15+
readme_renderer==32.0
16+
seed-isort-config==2.2.0
17+
sphinx==4.2.0
18+
vulture==2.3
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mock==4.0.3
2+
pytest==7.0.0
3+
pytest-cov==3.0.0
4+
pytest-mock==3.6.1

0 commit comments

Comments
 (0)