From cab2a0bb500c09e6b02b406d4f735b9d865664bc Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 1 Aug 2023 23:59:03 -0400 Subject: [PATCH] Drop linter and formatter dependencies This is to conform to Python packaging guidelines, not to mention that the tests are not even run during the build. Additionally, autopep8 is not yet compatible with Python 3.12, thereby blocking this from building. https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters --- nvme-cli.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nvme-cli.spec b/nvme-cli.spec index ee910bc..8f80740 100644 --- a/nvme-cli.spec +++ b/nvme-cli.spec @@ -22,10 +22,11 @@ BuildRequires: json-c-devel >= 0.13 %if (0%{?rhel} == 0) BuildRequires: python3-nose2 -BuildRequires: python3-mypy -BuildRequires: python3-flake8 -BuildRequires: python3-autopep8 -BuildRequires: python3-isort +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters +#BuildRequires: python3-mypy +#BuildRequires: python3-flake8 +#BuildRequires: python3-autopep8 +#BuildRequires: python3-isort %endif BuildRequires: asciidoc BuildRequires: xmlto