-
Notifications
You must be signed in to change notification settings - Fork 26
Capitalise module level constants #233
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
Conversation
docs/conf.py
Outdated
|
||
# -- Project information ----------------------------------------------------- | ||
|
||
project = "Astronomer Providers" | ||
author = "Astronomer Inc." | ||
PROJECT = "Astronomer Providers" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't do the others though as they are needed by Sphinx.
We only can do that are used internally, like REPO_DIR
. Feel free to make it internal if you want to by adding _
i.e. _REPO_DIR
docs/conf.py
Outdated
@@ -34,7 +34,7 @@ | |||
# Add any Sphinx extension module names here, as strings. They can be | |||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | |||
# ones. | |||
extensions = [ | |||
_EXTENSIONS = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_EXTENSIONS = [ | |
extensions = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also used by Sphinx for extensions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report
@@ Coverage Diff @@
## main #233 +/- ##
=======================================
Coverage 96.34% 96.34%
=======================================
Files 45 45
Lines 2541 2541
=======================================
Hits 2448 2448
Misses 93 93 Continue to review full report at Codecov.
|
We should Captailaize module level constants not used by Sphinx as a convention