We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4733227 commit 6e6fb37Copy full SHA for 6e6fb37
Makefile
@@ -27,9 +27,7 @@ EXTRAS=[pycodegen]
27
# `SHELL=bash` doesn't work for some, so don't use BASH-isms like
28
# `[[` conditional expressions.
29
PYSOURCES=$(wildcard ${MODULE}/**.py ${MODULE}/avro/*.py ${MODULE}/tests/*.py) setup.py
30
-DEVPKGS=diff_cover black pylint pep257 pydocstyle flake8 tox tox-pyenv \
31
- isort wheel autoflake flake8-bugbear pyupgrade bandit build\
32
- -rtest-requirements.txt -rmypy-requirements.txt
+DEVPKGS=-rdev-requirements.txt -rtest-requirements.txt -rmypy-requirements.txt
33
COVBASE=coverage run --append
34
35
# Updating the Major & Minor version below?
@@ -52,14 +50,14 @@ install-dep: install-dependencies
52
50
53
51
install-dependencies: FORCE
54
pip install --upgrade $(DEVPKGS)
55
- pip install -r requirements.txt -r mypy-requirements.txt
56
57
## install : install the schema-salad package and scripts
58
install: FORCE
59
pip install .$(EXTRAS)
60
61
## dev : install the schema-salad package in dev mode
62
dev: install-dep
+ pip install -U pip setuptools wheel
63
pip install -e .$(EXTRAS)
64
65
## dist : create a module package for distribution
dev-requirements.txt
@@ -0,0 +1,10 @@
1
+diff_cover < 7.3
2
+pylint < 2.16
3
+pydocstyle < 6.2
4
+flake8-bugbear < 22.13
5
+tox < 3.28 # until tox-pyenv is updated for tox 4.x
6
+tox-pyenv < 1.2
7
+isort < 5.11
8
+build < 0.9.1
9
+autoflake < 2.1
10
+bandit < 1.7.4
requirements.txt
@@ -5,4 +5,4 @@ rdflib>= 4.2.2, < 6.0.0;python_version<='3.6'
rdflib-jsonld>=0.4.0, <= 0.6.1;python_version<='3.6'
mistune>=2.0.3,<2.1
CacheControl[filecache]==0.12.11
-black
+black<22.13
test-requirements.txt
@@ -1,4 +1,3 @@
pytest >= 6.2, < 7.3
pytest-cov
pytest-xdist
-tox
tox.ini
@@ -37,10 +37,11 @@ passenv =
37
deps =
38
py{36,37,38,39,310,311}-{unit,mypy}: -rrequirements.txt
39
py{36,37,38,39,310,311}-{unit,mypy}: -rtest-requirements.txt
40
- py{36,37,38,39,310,311}-lint: flake8-bugbear
+ py{36,37,38,39,310,311}-lint: flake8-bugbear < 22.13
41
py{36,37,38,39,310,311}-lint: black
42
- py{37,38,39,310,311}-bandit: bandit
+ py{37,38,39,310,311}-bandit: bandit < 1.8
43
py{37,38,39,310,311}-mypy: -rmypy-requirements.txt
44
+# don't forget to update dev-requirements.txt as well
45
46
setenv =
47
py{36,37,38,39,310,311}-unit: LC_ALL = C.UTF-8
0 commit comments