blob: 90dd04dc62553e4d4527034a86a1b2cfcd8c8194 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
flake8,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "flake8-class-newline";
version = "1.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-UUxJI8iOuLPdUttLVbjTSDUg24nbgK9rqBKkrxVCH/E=";
};
build-system = [ setuptools ];
dependencies = [ flake8 ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "flake8_class_newline" ];
meta = {
description = "Flake8 extension to check if a new line is present after a class definition";
homepage = "https://github.com/alexandervaneck/flake8-class-newline";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lopsided98 ];
};
}
|