From 8fef111396f88ac0734b6bc3599310e78b28b79b Mon Sep 17 00:00:00 2001 From: Theron Luhn Date: Fri, 7 Jan 2022 11:10:51 -0800 Subject: Add version constraints to black, flake8, and isort. --- tox.ini | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 6c5d9fa04..3a0440738 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==21.12b0 + 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==21.12b0 + isort~=5.10 [testenv:build] skip_install = true -- cgit v1.2.3 From 2011897f10963324932545ad3b42288d211754f6 Mon Sep 17 00:00:00 2001 From: Theron Luhn Date: Sat, 8 Jan 2022 10:37:47 -0800 Subject: Add note in HACKING.txt about linting. --- HACKING.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HACKING.txt b/HACKING.txt index 7c0375d45..a47b25345 100644 --- a/HACKING.txt +++ b/HACKING.txt @@ -69,6 +69,10 @@ 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 Running Tests ------------- -- cgit v1.2.3 From 0b40e08538dea5915605fe76d7c5e550df04e5b1 Mon Sep 17 00:00:00 2001 From: Theron Luhn Date: Sat, 8 Jan 2022 10:45:24 -0800 Subject: Add version pinning notice to HACKING.txt. --- HACKING.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HACKING.txt b/HACKING.txt index a47b25345..9cc2e8edb 100644 --- a/HACKING.txt +++ b/HACKING.txt @@ -74,6 +74,8 @@ Coding Style $ $TOX -e lint +Black, isort, and flake8 versions are pinned for stability and reproducibility. + Running Tests ------------- -- cgit v1.2.3 From 3c67ad1bc5659cbad7a2a9a9fb2492e2bad39f75 Mon Sep 17 00:00:00 2001 From: Theron Luhn Date: Mon, 31 Jan 2022 00:39:43 -0800 Subject: Upgrade black to new stable release. --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 3a0440738..90436ceed 100644 --- a/tox.ini +++ b/tox.ini @@ -29,7 +29,7 @@ commands = check-manifest deps = flake8~=4.0.1 - black==21.12b0 + black~=22.1.0 isort~=5.10 readme_renderer check-manifest @@ -66,7 +66,7 @@ commands = isort src/pyramid tests setup.py black src/pyramid tests setup.py deps = - black==21.12b0 + black~=22.1.0 isort~=5.10 [testenv:build] -- cgit v1.2.3