mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
python3Packages.hacking: disable only failing tests instead of test group
(cherry picked from commit b89c8bcc73)
This commit is contained in:
committed by
github-actions[bot]
parent
904a35f168
commit
9ca4ded203
@@ -20,6 +20,10 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "flake8<3.9.0,>=3.8.0" "flake8"
|
||||
substituteInPlace hacking/checks/python23.py \
|
||||
--replace 'H236: class Foo(object):\n __metaclass__ = \' 'Okay: class Foo(object):\n __metaclass__ = \'
|
||||
substituteInPlace hacking/checks/except_checks.py \
|
||||
--replace 'H201: except:' 'Okay: except:'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pbr ];
|
||||
|
||||
Reference in New Issue
Block a user