-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Misc spelling updates #5
Conversation
@@ -200,7 +200,7 @@ def clear(args): | |||
dagbag = DagBag(args.subdir) | |||
|
|||
if args.dag_id not in dagbag.dags: | |||
raise Exception('dag_id could not be found') | |||
raise Exception('dag_id could not be fouud') |
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 creates a spelling error, rather than correcting it
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.
😞 oops sorry, good catch
Woah. I didn't realize how much typos there was in there. I clearly need some sort of spell checker plugin in my vim. I'll merge as soon as you update the one thing @Mause pointed out. Thanks! |
None hurt my ability to use airflow, they seemed extremely minor to me. I noticed because my poor spelling caused frustration for an english as a second language colleague so I added these lines to my vimrc: hi clear SpellBad
hi SpellBad cterm=underline
set spell spelllang=en_us It works pretty well for me with PyMode and not correcting |
Nice, I dropped those lines in my .vimrc and it seems to work well with my python config. Expect less typos from me in the future! Merging. |
# This is a combination of 16 commits. # This is the 1st commit message: Add flask_admin_unescape function to airfow.www.utils # This is the commit message apache#2: Add flask_admin_unescape to TaskInstanceModelView for task_id and dag_id # This is the commit message apache#3: Add test_flask_admin_unescape to tests.www.test_utils # This is the commit message apache#4: Add TestTaskInstanceModelView to tests.www.test_views This test for the proper integration between Subdag Tasks and the flask_admin package. Because the flask_admin package uses '.' characters as it's escape character and airflow enforces the dag_id.subdag_id format for the dag_id's for task_id's in subdags, the escaping that flask_admin preforms causes a duplication of the '.' character. When perform the actions that are available for those task_instances via the ui, this causes an error. These tests are here to protect against that integration issue. # This is the commit message apache#5: Update airflow.www.utils to conform to flake8 standards # This is the commit message apache#6: Update tests.www.test_utils to conform to flake8 standards # This is the commit message apache#7: Update TestTaskInstanceModelView to Leverage assertEqual # This is the commit message apache#8: Remove Superfluous SubDAG Task Var TestTaskInstanceModelView # This is the commit message apache#9: Update airflow.www.utils.gizipped.view_func to match with flake8 # This is the commit message apache#11: Update airflow.www._connection_ids to align with flake8 spacing # This is the commit message apache#12: Update tests.www.test_utils.test_flask_admin_unescape with proper spaces # This is the commit message apache#13: Align tests.www.test_views with flake8 standards # This is the commit message apache#14: Remove unnecessary SubDagOperator in tests.www.test_views # This is the commit message apache#15: Change Position on install_aliases call in www.utils for flake8 # This is the commit message apache#16: Separate setting subdag state via flask_admin model tests
…_pandas_gbq Added a workaround for a pandas_gbq issue when result table has 1 column
…-2817 to develop * commit '768ee500963cab7b5e2172b871cfe0889da7a257': Bump version to 1.8.0-up1.2.0 DATA-2817: support celery worker --hostname arg
* Add circle_ci config * Add basic circleCI template * Add an integration-test target * Sample fix * Adding additional dependency in test-requirements * Add testing line * Add some install steps to install airflow for testing * Adjustments to install local airflow to run tests * Add additional necessary requirements * Add circle_ci fixes
add community link
I was reading over the code to understand how everything works and ended up making minor spelling changes. None stopped functionality for me except a change in the iPython Notebook. I hope these changes might be useful.
This is an extremely helpful utility and a cool use of DAGs.