seratch opened a new pull request #3732: Fix typos detected by 
github.com/client9/misspell
URL: https://github.com/apache/incubator-airflow/pull/3732
 
 
   ### Description
   
   Fixing typos is sometimes very hard. It's not so easy to visually review 
them. Recently, I discovered a very useful tool for it, 
[misspell](https://github.com/client9/misspell). 
   
   This pull request fixes minor typos detected by 
[misspell](https://github.com/client9/misspell) except for the false positives. 
If you would like me to work on other files as well, let me know. 
   
   #### before
   
   ```
   $ misspell airflow/ | grep -v CHANGELOG.txt | grep -v www
   2018/08/10 18:14:00 Unable to stat "airflow/www/static/docs": stat 
airflow/www/static/docs: no such file or directory
   2018/08/10 18:14:00 Unable to stat "airflow/www_rbac/static/docs": stat 
airflow/www_rbac/static/docs: no such file or directory
   airflow/contrib/example_dags/example_databricks_operator.py:35:22: 
"succesful" is a misspelling of "successful"
   airflow/contrib/hooks/emr_hook.py:26:47: "neccessary" is a misspelling of 
"necessary"
   airflow/contrib/hooks/azure_fileshare_hook.py:103:21: "direcotry" is a 
misspelling of "directory"
   airflow/contrib/hooks/gcp_dataproc_hook.py:238:60: "compatability" is a 
misspelling of "compatibility"
   airflow/contrib/hooks/bigquery_hook.py:630:40: "paramaters" is a misspelling 
of "parameters"
   airflow/contrib/hooks/qubole_hook.py:128:31: "commmand" is a misspelling of 
"command"
   airflow/contrib/hooks/salesforce_hook.py:56:32: "conenction" is a 
misspelling of "connection"
   airflow/contrib/hooks/salesforce_hook.py:63:41: "SECRUITY" is a misspelling 
of "SECURITY"
   airflow/contrib/operators/gcs_to_bq.py:89:29: "Thsi" is a misspelling of 
"This"
   airflow/contrib/operators/mlengine_operator_utils.py:163:69: "prediciton" is 
a misspelling of "prediction"
   airflow/contrib/operators/qubole_check_operator.py:31:69: "Commmand" is a 
misspelling of "Command"
   
airflow/contrib/plugins/metastore_browser/templates/metastore_browser/table.html:31:106:
 "Atributes" is a misspelling of "Attributes"
   airflow/hooks/mysql_hook.py:124:27: "seperately" is a misspelling of 
"separately"
   airflow/operators/hive_to_druid.py:167:19: "compatibilty" is a misspelling 
of "compatibility"
   airflow/sensors/hdfs_sensor.py:91:20: "extentions" is a misspelling of 
"extensions"
   airflow/sensors/hdfs_sensor.py:94:24: "extentions" is a misspelling of 
"extensions"
   airflow/sensors/hdfs_sensor.py:96:55: "extentions" is a misspelling of 
"extensions"
   airflow/models.py:945:71: "acutally" is a misspelling of "actually"
   ```
   
   #### after
   
   ```
   $ misspell airflow/ | grep -v CHANGELOG.txt | grep -v www
   2018/08/10 18:13:50 Unable to stat "airflow/www/static/docs": stat 
airflow/www/static/docs: no such file or directory
   2018/08/10 18:13:50 Unable to stat "airflow/www_rbac/static/docs": stat 
airflow/www_rbac/static/docs: no such file or directory
   ```
   
   
   ### Code Quality
   
   - [ ] Passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
   
   hmm, I am not sure if I can fix this.
   
   ```
   $ git diff upstream/master -u -- "*.py" | flake8 --dif
   fatal: bad revision 'upstream/master'
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to