flake8_3: init at 3.0.4
(cherry picked from commit 7026cdf9e9d0d221534238023b7efbf1f04547a5) (cherry picked from commit 0675eb1b5d82e986589e3fc6ed5ebf1b798c0e7e) (cherry picked from commit 3c88d3a9c4224801ba4ae34abac0a8d342640795) --- initializes a new version of flake8 as a seperate expression. Signed-off-by: Alexander Ried <ried@mytum.de>
This commit is contained in:
parent
14510fdc73
commit
0f63f35d6a
@ -0,0 +1,22 @@
|
|||||||
|
diff -r ad8325924f04 pytest.ini
|
||||||
|
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
|
||||||
|
+++ b/pytest.ini Fri Sep 30 12:28:39 2016 +0200
|
||||||
|
@@ -0,0 +1,4 @@
|
||||||
|
+[pytest]
|
||||||
|
+-norecursedirs = .git .* *.egg* old docs dist build
|
||||||
|
+-addopts = -rwv
|
||||||
|
+
|
||||||
|
diff -r ad8325924f04 setup.cfg
|
||||||
|
--- a/setup.cfg Fri Sep 30 09:22:39 2016 +0200
|
||||||
|
+++ b/setup.cfg Fri Sep 30 12:28:39 2016 +0200
|
||||||
|
@@ -12,10 +12,6 @@
|
||||||
|
pycodestyle >= 2.0.0, < 2.1.0
|
||||||
|
mccabe >= 0.5.0, < 0.6.0
|
||||||
|
|
||||||
|
-[pytest]
|
||||||
|
-norecursedirs = .git .* *.egg* old docs dist build
|
||||||
|
-addopts = -rw
|
||||||
|
-
|
||||||
|
[egg_info]
|
||||||
|
tag_build =
|
||||||
|
tag_date = 0
|
@ -10557,6 +10557,35 @@ in modules // {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
flake8_3 = buildPythonPackage rec {
|
||||||
|
name = "flake8-${version}";
|
||||||
|
version = "3.0.4";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://pypi/f/flake8/${name}.tar.gz";
|
||||||
|
sha256 = "03cpdrjxh0fyi2qpdxbbrmxw7whiq3xr3p958gr6yzghk34i1hml";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with self; [ nose mock pytestrunner pytest ];
|
||||||
|
propagatedBuildInputs = with self; [ pyflakes mccabe enum34 configparser pycodestyle ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
../development/python-modules/flake8/move-pytest-config-to-pytest-ini.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
# Tests fail due to missing ini file.
|
||||||
|
preCheck = ''
|
||||||
|
touch tox.ini
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Code checking using pep8 and pyflakes";
|
||||||
|
homepage = http://pypi.python.org/pypi/flake8;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
flaky = buildPythonPackage rec {
|
flaky = buildPythonPackage rec {
|
||||||
name = "flaky-${version}";
|
name = "flaky-${version}";
|
||||||
version = "3.1.0";
|
version = "3.1.0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user