-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resolves #865 fixing sphinx #866
Conversation
Format Python code with psf/black push
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the | ||
# documentation root, use os.path.abspath to make it absolute, like shown here. |
Check warning
Code scanning / Prospector (reported by Codacy)
Redefining built-in 'copyright' (redefined-builtin) Warning
@@ -117,7 +117,7 @@ | |||
def is_interactive_environment(): | |||
"""Return True if script is run through IDE.""" | |||
parent = psutil.Process(os.getpid()).parent().name() | |||
if parent in ["cmd.exe", "py.exe", "bash"]: | |||
if parent in ["cmd.exe", "py.exe", "bash", "sphinx-build.exe"]: |
Check warning
Code scanning / Prospector (reported by Codacy)
Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) Warning
# -- Path setup -------------------------------------------------------------- | ||
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Constant name "project" doesn't conform to UPPER_CASE naming style Warning
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the | ||
# documentation root, use os.path.abspath to make it absolute, like shown here. |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Constant name "copyright" doesn't conform to UPPER_CASE naming style Warning
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the | ||
# documentation root, use os.path.abspath to make it absolute, like shown here. |
Check notice
Code scanning / Pylintpython3 (reported by Codacy)
Redefining built-in 'copyright' Note
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the | ||
# documentation root, use os.path.abspath to make it absolute, like shown here. | ||
# |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Constant name "author" doesn't conform to UPPER_CASE naming style Warning
@@ -117,7 +117,7 @@ | |||
def is_interactive_environment(): | |||
"""Return True if script is run through IDE.""" | |||
parent = psutil.Process(os.getpid()).parent().name() | |||
if parent in ["cmd.exe", "py.exe", "bash"]: | |||
if parent in ["cmd.exe", "py.exe", "bash", "sphinx-build.exe"]: |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Unnecessary "elif" after "return", remove the leading "el" from "elif" Warning
# -- Path setup -------------------------------------------------------------- | ||
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the |
Check warning
Code scanning / Pylint (reported by Codacy)
Constant name "project" doesn't conform to UPPER_CASE naming style Warning
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the | ||
# documentation root, use os.path.abspath to make it absolute, like shown here. |
Check warning
Code scanning / Pylint (reported by Codacy)
Constant name "copyright" doesn't conform to UPPER_CASE naming style Warning
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the | ||
# documentation root, use os.path.abspath to make it absolute, like shown here. |
Check notice
Code scanning / Pylint (reported by Codacy)
Redefining built-in 'copyright' Note
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the | ||
# documentation root, use os.path.abspath to make it absolute, like shown here. | ||
# |
Check warning
Code scanning / Pylint (reported by Codacy)
Constant name "author" doesn't conform to UPPER_CASE naming style Warning
# -- General configuration --------------------------------------------------- | ||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration | ||
|
||
extensions = [] | ||
extensions = [ |
Check warning
Code scanning / Pylint (reported by Codacy)
Constant name "extensions" doesn't conform to UPPER_CASE naming style Warning
No description provided.