File: flake8.patch

package info (click to toggle)
ros2-colcon-package-selection 0.2.10-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188 kB
  • sloc: python: 651; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix FTBFS with flake8 7.3.0
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1126244

--- ros2-colcon-package-selection-0.2.10.orig/test/test_spell_check.py
+++ ros2-colcon-package-selection-0.2.10/test/test_spell_check.py
@@ -17,7 +17,6 @@ spell_check_words_path = Path(__file__).
 
 @pytest.fixture(scope='module')
 def known_words():
-    global spell_check_words_path
     return spell_check_words_path.read_text().splitlines()