1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

Merge pull request #107492 from SuperSandro2000/pythonPackages-disable-tests

This commit is contained in:
Sandro 2020-12-25 00:55:40 +01:00 committed by GitHub
commit a69415ef86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 0 deletions

View file

@ -13,9 +13,14 @@ buildPythonPackage rec {
buildInputs = [ setuptools_scm ];
# does not contain tests
doCheck = false;
pythonImportsCheck = [ "backports.unittest_mock" ];
meta = with stdenv.lib; {
description = "Provides a function install() which makes the mock module";
homepage = "https://github.com/jaraco/backports.unittest_mock";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -18,6 +18,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ black pytest toml ];
# does not contain tests
doCheck = false;
pythonImportsCheck = [ "pytest_black" ];
meta = with lib; {

View file

@ -17,8 +17,13 @@ buildPythonPackage rec {
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pytest mypy filelock ];
# does not contain tests
doCheck = false;
pythonImportsCheck = [ "pytest_mypy" ];
meta = with lib; {
description = "Mypy static type checker plugin for Pytest";
homepage = "https://github.com/dbader/pytest-mypy";

View file

@ -14,6 +14,9 @@ buildPythonPackage rec {
checkInputs = [ pytest ];
doCheck = false;
pythonImportsCheck = [ "setuptools_scm_git_archive" ];
meta = with stdenv.lib; {
description = "setuptools_scm plugin for git archives";
homepage = "https://github.com/Changaco/setuptools_scm_git_archive";