Skip to content
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

Updates july2022 #150

Merged
merged 34 commits into from
Feb 23, 2023
Merged

Updates july2022 #150

merged 34 commits into from
Feb 23, 2023

Conversation

wkhchow
Copy link
Collaborator

@wkhchow wkhchow commented Feb 15, 2023

  • new 3857 hexgrids
  • bug fixes
  • update readme/lisezmoi
  • includes all updates in @drotheram's reformat_add_data branch

wkhchow and others added 30 commits July 13, 2022 16:19
- W0105: String statement has no effect (pointless-string-statement)
- W1202: Use lazy % formatting in logging functions (logging-format-interpolation)
- W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
- R1711: Useless return at end of function or method (useless-return)
- C0103: Function name "processRuptureXML" doesn't conform to snake_case naming style (invalid-name)
- C0103: Variable name "logFileName" doesn't conform to snake_case naming style (invalid-name)
- C0103: Variable name "ghToken" doesn't conform to snake_case naming style (invalid-name)
- C0103: Variable name "configParseObj" doesn't conform to snake_case naming style (invalid-name)
- C0103: Variable name "ruptureFile" doesn't conform to snake_case naming style (invalid-name)
- C0411: standard import "import sys" should be placed before "import pandas as pd" (wrong-import-order)
- C0411: standard import "import xml.etree.ElementTree as et" should be placed before "import pandas as pd" (wrong-import-order)
- C0411: standard import "from io import StringIO" should be placed before "import pandas as pd" (wrong-import-order)

Also reword the help text and comment a little bit.
This avoids unintended errors when non-XML files (e.g. CSV files) are
encountered.

Thanks to William Chow (@wkhchow) for discovering the issue.

Fixes a regression in commit 6978357.
Copy link
Member

@anthonyfok anthonyfok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wkhchow Looks good to me! even though there is a lot that I don't really understand. But looks really good! Thank you! 🙏

@wkhchow wkhchow merged commit adf56fb into master Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Enhancement New feature or request
Projects
None yet
3 participants