summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HACKING.txt6
-rw-r--r--tox.ini10
2 files changed, 11 insertions, 5 deletions
diff --git a/HACKING.txt b/HACKING.txt
index 7c0375d45..9cc2e8edb 100644
--- a/HACKING.txt
+++ b/HACKING.txt
@@ -69,6 +69,12 @@ Coding Style
$ $TOX -e format
+- Pyramid uses flake8 (https://pypi.org/project/flake8/) to enforce PEP8 style guidelines.
+ To run flake8, as well as running checks for Black and isort:
+
+ $ $TOX -e lint
+
+Black, isort, and flake8 versions are pinned for stability and reproducibility.
Running Tests
-------------
diff --git a/tox.ini b/tox.ini
index 6c5d9fa04..90436ceed 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,9 +28,9 @@ commands =
python setup.py check -r -s -m
check-manifest
deps =
- flake8
- black
- isort
+ flake8~=4.0.1
+ black~=22.1.0
+ isort~=5.10
readme_renderer
check-manifest
@@ -66,8 +66,8 @@ commands =
isort src/pyramid tests setup.py
black src/pyramid tests setup.py
deps =
- black
- isort
+ black~=22.1.0
+ isort~=5.10
[testenv:build]
skip_install = true