0002-drop-install-time-linting-and-imports-sorting.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. From 3446a4af8474cd863efddeae7f3e5dd3f9b8e25e Mon Sep 17 00:00:00 2001
  2. From: Titouan Christophe <titouan.christophe@railnova.eu>
  3. Date: Mon, 17 Feb 2020 15:12:13 +0100
  4. Subject: [PATCH] drop install time linting and imports sorting
  5. Since the 1.9.2 release, the setup script is also performing code linting
  6. tasks, which require additional python libraries.
  7. These linting tasks are not needed anyway, since they are intended to prepare
  8. the code for distribution, but the Buildroot package is already using a
  9. distributed version. We therefore simply remove them.
  10. Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
  11. ---
  12. setup.cfg | 2 --
  13. setup.py | 1 -
  14. 2 files changed, 3 deletions(-)
  15. diff --git a/setup.cfg b/setup.cfg
  16. index 7b5de18..d46a36e 100644
  17. --- a/setup.cfg
  18. +++ b/setup.cfg
  19. @@ -25,8 +25,6 @@ package_dir =
  20. include_package_data = true
  21. packages = avro
  22. setup_requires =
  23. - isort
  24. - pycodestyle
  25. install_requires =
  26. zip_safe = true
  27. scripts =
  28. diff --git a/setup.py b/setup.py
  29. index f6297bb..91d3287 100755
  30. --- a/setup.py
  31. +++ b/setup.py
  32. @@ -164,7 +164,6 @@ def main():
  33. setuptools.setup(cmdclass={
  34. "clean": CleanCommand,
  35. "generate_interop_data": GenerateInteropDataCommand,
  36. - "lint": LintCommand,
  37. })
  38. --
  39. 2.24.1