File: flake8.patch

package info (click to toggle)
ros2-colcon-bash 0.5.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 148 kB
  • sloc: python: 179; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 446 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/1126241

--- ros2-colcon-bash-0.5.0.orig/test/test_spell_check.py
+++ ros2-colcon-bash-0.5.0/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()