Avoid bikeshedding about the best way to suppress flake8 messages
This commit is contained in:
parent
8b56f1ced6
commit
d5846282a9
1 changed files with 2 additions and 2 deletions
|
|
@ -6,6 +6,7 @@
|
|||
# full list see the documentation:
|
||||
# https://www.sphinx-doc.org/en/master/config
|
||||
|
||||
import importlib
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
|
|
@ -25,8 +26,7 @@
|
|||
kitty_src = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
if kitty_src not in sys.path:
|
||||
sys.path.insert(0, kitty_src)
|
||||
if True:
|
||||
from kitty.constants import str_version
|
||||
str_version = importlib.import_module('kitty.constants').str_version
|
||||
|
||||
# config {{{
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue