nbqa: use versionCheckHook
This commit is contained in:
@@ -6,9 +6,8 @@
|
||||
# optional-dependencies
|
||||
ruff,
|
||||
|
||||
# passthru
|
||||
testers,
|
||||
nbqa,
|
||||
# tests
|
||||
versionCheckHook,
|
||||
}:
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "nbqa";
|
||||
@@ -68,7 +67,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
pytestCheckHook
|
||||
yapf
|
||||
])
|
||||
++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
++ lib.flatten (lib.attrValues optional-dependencies)
|
||||
++ [ versionCheckHook ];
|
||||
|
||||
disabledTests = [
|
||||
# Test data not found
|
||||
@@ -88,12 +88,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
"tests/test_include_exclude.py"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = nbqa;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/nbQA-dev/nbQA";
|
||||
changelog = "https://nbqa.readthedocs.io/en/latest/history.html";
|
||||
|
||||
Reference in New Issue
Block a user