lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.backports_functools_lru_cache: switch to pytestCheckHook, remove linters

+2 -23
+2 -10
pkgs/development/python-modules/backports_functools_lru_cache/default.nix
··· 3 3 , fetchPypi 4 4 , setuptools-scm 5 5 , isPy3k 6 - , pytest 7 - , pytest-black 8 - , pytest-flake8 9 - , pytest-cov 6 + , pytestCheckHook 10 7 }: 11 8 12 9 buildPythonPackage rec { ··· 20 17 21 18 nativeBuildInputs = [ setuptools-scm ]; 22 19 23 - checkInputs = [ pytest pytest-flake8 pytest-black pytest-cov ]; 24 - # ironically, they fail a linting test, and pytest.ini forces that test suite 25 - checkPhase = '' 26 - rm backports/functools_lru_cache.py 27 - pytest -k 'not format' 28 - ''; 20 + checkInputs = [ pytestCheckHook ]; 29 21 30 22 # Test fail on Python 2 31 23 doCheck = isPy3k;
-13
pkgs/development/python-modules/portend/black-19.10b0.patch
··· 1 - diff --git a/test_portend.py b/test_portend.py 2 - index b2de8c2..3f90276 100644 3 - --- a/test_portend.py 4 - +++ b/test_portend.py 5 - @@ -21,7 +21,7 @@ def socket_infos(): 6 - 7 - 8 - def id_for_info(info): 9 - - af, = info[:1] 10 - + (af,) = info[:1] 11 - return str(af) 12 - 13 -