python39Packages.tempora: switch to pytestCheckHook, remove linter

This commit is contained in:
Sandro Jäckel 2022-03-29 15:16:21 +02:00
parent f4e164ee02
commit bd820dbaab
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,7 +1,6 @@
{ lib, buildPythonPackage, fetchPypi
, setuptools-scm, pytest, pytest-freezegun, freezegun, backports_unittest-mock
, setuptools-scm, pytestCheckHook, pytest-freezegun, freezegun, backports_unittest-mock
, six, pytz, jaraco_functools, pythonOlder
, pytest-flake8, pytest-cov, pytest-black, pytest-mypy
}:
buildPythonPackage rec {
@ -20,14 +19,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six pytz jaraco_functools ];
checkInputs = [
pytest-freezegun pytest freezegun backports_unittest-mock
pytest-flake8 pytest-cov pytest-black pytest-mypy
pytest-freezegun pytestCheckHook freezegun backports_unittest-mock
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Objects and routines pertaining to date and time";
homepage = "https://github.com/jaraco/tempora";