python39Packages.tempora: switch to pytestCheckHook, remove linter
This commit is contained in:
parent
f4e164ee02
commit
bd820dbaab
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user