python3Packages.docstring-to-markdown: 0.13 -> 0.15
https://github.com/python-lsp/docstring-to-markdown/releases/tag/v0.15
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "docstring-to-markdown";
|
||||
version = "0.13";
|
||||
version = "0.15";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -16,13 +16,12 @@ buildPythonPackage rec {
|
||||
owner = "python-lsp";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-r+TRYofTRDCBC0s+bJRhagepEQbbj5WeI5FRtaVPt24=";
|
||||
hash = "sha256-ykqY7LFIOTuAddYkKDzIltq8FpLVz4v2ZA3Y0cZH9ms=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# So pytest-flake8 and pytest-cov won't be needed
|
||||
./remove-coverage-tests.patch
|
||||
];
|
||||
postPatch = ''
|
||||
sed -i -E '/--(cov|flake8)/d' setup.cfg
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
diff --git i/setup.cfg w/setup.cfg
|
||||
index e880e74..e77133e 100644
|
||||
--- i/setup.cfg
|
||||
+++ w/setup.cfg
|
||||
@@ -34,11 +34,7 @@ docstring-to-markdown = py.typed
|
||||
[tool:pytest]
|
||||
addopts =
|
||||
--pyargs tests
|
||||
- --cov docstring_to_markdown
|
||||
- --cov-fail-under=98
|
||||
- --cov-report term-missing:skip-covered
|
||||
-p no:warnings
|
||||
- --flake8
|
||||
-vv
|
||||
|
||||
[flake8]
|
||||
Reference in New Issue
Block a user