python3Packages.tempora: fix tests
This commit is contained in:
parent
8d881b0d7b
commit
af96702aac
@ -1,28 +0,0 @@
|
|||||||
From 9dfd2a8fac4a643fd007390762ccc8564588b4bf Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
|
|
||||||
Date: Thu, 25 Jun 2020 10:16:52 +0100
|
|
||||||
Subject: [PATCH] pytest: remove flake8/black/coverage
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
|
|
||||||
---
|
|
||||||
pytest.ini | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/pytest.ini b/pytest.ini
|
|
||||||
index bd6998d..a464529 100644
|
|
||||||
--- a/pytest.ini
|
|
||||||
+++ b/pytest.ini
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
[pytest]
|
|
||||||
norecursedirs=dist build .tox .eggs
|
|
||||||
-addopts=--doctest-modules --flake8 --black --cov
|
|
||||||
+addopts=--doctest-modules
|
|
||||||
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
|
|
||||||
filterwarnings=
|
|
||||||
# suppress known warning
|
|
||||||
--
|
|
||||||
2.27.0
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
, setuptools_scm, pytest, pytest-freezegun, freezegun, backports_unittest-mock
|
, setuptools_scm, pytest, pytest-freezegun, freezegun, backports_unittest-mock
|
||||||
, six, pytz, jaraco_functools, pythonOlder }:
|
, six, pytz, jaraco_functools, pythonOlder
|
||||||
|
, pytest-flake8, pytestcov, pytest-black, pytest-mypy
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tempora";
|
pname = "tempora";
|
||||||
@ -15,14 +17,11 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
|
|
||||||
patches = [
|
|
||||||
./0001-pytest-remove-flake8-black-coverage.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ six pytz jaraco_functools ];
|
propagatedBuildInputs = [ six pytz jaraco_functools ];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest-freezegun pytest freezegun backports_unittest-mock
|
pytest-freezegun pytest freezegun backports_unittest-mock
|
||||||
|
pytest-flake8 pytestcov pytest-black pytest-mypy
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user