BLK999 for shebang
See original GitHub issue$ cat test.py
#!/usr/bin/env python3
print("test")
$ flake8 -v test.py
flake8.plugins.manager MainProcess 49 INFO Loading entry-points for "flake8.extension".
flake8.plugins.manager MainProcess 76 INFO Loading entry-points for "flake8.report".
flake8.plugins.manager MainProcess 103 INFO Loading plugin "BLK" from entry-point.
flake8.plugins.manager MainProcess 162 INFO Loading plugin "C90" from entry-point.
flake8.plugins.manager MainProcess 164 INFO Loading plugin "F" from entry-point.
flake8.plugins.manager MainProcess 175 INFO Loading plugin "pycodestyle.ambiguous_identifier" from entry-point.
flake8.plugins.manager MainProcess 179 INFO Loading plugin "pycodestyle.bare_except" from entry-point.
flake8.plugins.manager MainProcess 179 INFO Loading plugin "pycodestyle.blank_lines" from entry-point.
flake8.plugins.manager MainProcess 179 INFO Loading plugin "pycodestyle.break_after_binary_operator" from entry-point.
flake8.plugins.manager MainProcess 179 INFO Loading plugin "pycodestyle.break_before_binary_operator" from entry-point.
flake8.plugins.manager MainProcess 179 INFO Loading plugin "pycodestyle.comparison_negative" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.comparison_to_singleton" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.comparison_type" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.compound_statements" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.continued_indentation" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.explicit_line_join" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.extraneous_whitespace" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.imports_on_separate_lines" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.indentation" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.maximum_doc_length" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.maximum_line_length" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.missing_whitespace" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.missing_whitespace_after_import_keyword" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.missing_whitespace_around_operator" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.module_imports_on_top_of_file" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.python_3000_async_await_keywords" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.python_3000_backticks" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.python_3000_has_key" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.python_3000_invalid_escape_sequence" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.python_3000_not_equal" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.python_3000_raise_comma" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.tabs_obsolete" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.tabs_or_spaces" from entry-point.
flake8.plugins.manager MainProcess 180 INFO Loading plugin "pycodestyle.trailing_blank_lines" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "pycodestyle.trailing_whitespace" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "pycodestyle.whitespace_around_comma" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "pycodestyle.whitespace_around_keywords" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "pycodestyle.whitespace_around_named_parameter_equals" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "pycodestyle.whitespace_around_operator" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "pycodestyle.whitespace_before_comment" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "pycodestyle.whitespace_before_parameters" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "default" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "pylint" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "quiet-filename" from entry-point.
flake8.plugins.manager MainProcess 181 INFO Loading plugin "quiet-nothing" from entry-point.
flake8.options.manager MainProcess 181 WARNING option --max-complexity: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future
flake8 MainProcess 182 INFO flake8-black: No black configuration set
flake8.checker MainProcess 183 WARNING The multiprocessing module is not available. Ignoring --jobs arguments.
flake8.checker MainProcess 183 INFO Making checkers
flake8.checker MainProcess 184 INFO Checking 1 files
flake8.main.application MainProcess 189 INFO Finished running
flake8.main.application MainProcess 189 INFO Reporting errors
flake8.main.application MainProcess 189 INFO Found a total of 1 violations and reported 1
_.py:0:1: BLK999 Unexpected exception: unsupported operand type(s) for /: 'tuple' and 'str'
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:12 (12 by maintainers)
Top Results From Across the Web
The case of the supersized shebang - LWN.net
The 5.0 kernel introduced a change in the handling of the "#!" (or "shebang") lines used to indicate which interpreter should handle an...
Read more >Why is "shebang" called "shebang"? - Unix Stack Exchange
The name shebang for the distinctive two characters comes from an inexact contraction of SHArp bang or haSH bang, referring to the two...
Read more >Multiline shebang - Rosetta Code
Multiline shebang is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that...
Read more >Bash Shebang for dummies? - Super User
Can someone explain the meaning and benefits of these shebang options and whether they apply to other shebangs? bash · shell · script...
Read more >She Bang - C2 wiki
(pronounced SheBang which is short for sharp-bang) tells the kernel what kind of executable program this is; the text up to the next...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

There is nothing obvious in the versions of the key tools, I guess next I should try
pip install -r requirements.dev.txtand see what happens. Unlikely, but it could be a bad interaction with another tool perhaps?Fixed! Thank you!