Skip to content

Commit 135a6cf

Browse files
committed
Updated files with 'repo_helper'.
1 parent 97e6682 commit 135a6cf

File tree

7 files changed

+16
-31
lines changed

7 files changed

+16
-31
lines changed

.github/workflows/python_ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ name: Windows Tests
44

55
on:
66
push:
7-
branches: ["master"]
87
pull_request:
98
branches: ["master"]
109

@@ -13,19 +12,19 @@ jobs:
1312
name: "Python ${{ matrix.python-version }}"
1413
runs-on: "windows-2019"
1514
env:
16-
USING_COVERAGE: '3.6,3.7,3.8,pypy3'
15+
USING_COVERAGE: '3.6,3.7,3.8,3.9-dev,pypy3'
1716

1817
strategy:
1918
fail-fast: False
2019
matrix:
21-
python-version: ["3.6","3.7","3.8","pypy3"]
20+
python-version: ["3.6","3.7","3.8","3.9-dev","pypy3"]
2221

2322

2423
steps:
2524
- name: Checkout 🛎️
2625
uses: "actions/checkout@v2"
2726
- name: Setup Python 🐍
28-
uses: "actions/setup-python@v1"
27+
uses: "actions/setup-python@v2"
2928
with:
3029
python-version: "${{ matrix.python-version }}"
3130
- name: Install dependencies 🔧

.github/workflows/python_ci_macos.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ name: macOS Tests
44

55
on:
66
push:
7-
branches: ["master"]
87
pull_request:
98
branches: ["master"]
109

@@ -13,19 +12,19 @@ jobs:
1312
name: "Python ${{ matrix.python-version }}"
1413
runs-on: "macos-latest"
1514
env:
16-
USING_COVERAGE: '3.6,3.7,3.8,pypy3'
15+
USING_COVERAGE: '3.6,3.7,3.8,3.9-dev,pypy3'
1716

1817
strategy:
1918
fail-fast: False
2019
matrix:
21-
python-version: ["3.6","3.7","3.8","pypy3"]
20+
python-version: ["3.6","3.7","3.8","3.9-dev","pypy3"]
2221

2322

2423
steps:
2524
- name: Checkout 🛎️
2625
uses: "actions/checkout@v2"
2726
- name: Setup Python 🐍
28-
uses: "actions/setup-python@v1"
27+
uses: "actions/setup-python@v2"
2928
with:
3029
python-version: "${{ matrix.python-version }}"
3130
- name: Install dependencies 🔧

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ repos:
99
- id: check-ast
1010
- id: check-byte-order-marker
1111
- id: check-case-conflict
12-
- id: check-docstring-first
1312
- id: check-executables-have-shebangs
1413
- id: check-json
1514
- id: check-merge-conflict
@@ -23,9 +22,10 @@ repos:
2322
- id: mixed-line-ending
2423

2524
- repo: https://github.com/domdfcoding/pre-commit-hooks
26-
rev: v0.0.1
25+
rev: v0.0.2
2726
hooks:
2827
- id: requirements-txt-sorter
28+
- id: check-docstring-first
2929

3030
- repo: https://github.com/pre-commit/pygrep-hooks
3131
rev: v1.5.1

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ python:
1313

1414
install:
1515

16-
- pip install pip --upgrade
16+
- pip install --upgrade pip
1717
- pip install tox tox-travis
1818
- pip install coveralls coverage_pyver_pragma
1919

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include __pkginfo__.py
22
include LICENSE
33
include requirements.txt
4-
recursive-exclude **/__pycache__ *
4+
prune **/__pycache__
55
recursive-include flake8_sphinx_links *.pyi
66
include flake8_sphinx_links/py.typed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
33
"setuptools >= 40.6.0",
4-
"wheel >= 0.34.2",
5-
]
4+
"wheel >= 0.34.2",
5+
]
66
build-backend = "setuptools.build_meta"

tox.ini

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[tox]
44
envlist = py36, py37, py38, py39-dev, pypy3, mypy, build
55
skip_missing_interpreters = true
6-
requires = pip >= 19.0.0
6+
requires = pip>=20.2.1
77
isolated_build = true
88

99

@@ -26,7 +26,9 @@ python =
2626

2727

2828
[testenv]
29-
setenv = PYTHONDEVMODE = 1
29+
setenv =
30+
PYTHONDEVMODE = 1
31+
PIP_USE_FEATURE=2020-resolver
3032
# Install test requirements
3133
deps = -r{toxinidir}/tests/requirements.txt
3234
commands =
@@ -115,21 +117,6 @@ deps =
115117
commands = mypy flake8_sphinx_links tests
116118

117119

118-
[testenv:bandit]
119-
basepython = python3.6
120-
121-
ignore_errors = true
122-
changedir = {toxinidir}
123-
deps =
124-
bandit
125-
whitelist_externals = /usr/bin/printf
126-
commands =
127-
printf "===== Running Bandit on flake8_sphinx_links ====="
128-
bandit flake8_sphinx_links -r
129-
printf "===== Running Bandit on tests ====="
130-
bandit tests -r -s B101
131-
132-
133120
[testenv:pyup]
134121
basepython = python3.6
135122
skip_install = true

0 commit comments

Comments
 (0)