-
Notifications
You must be signed in to change notification settings - Fork 751
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
Core: Add display name for item_links
Option.
#1952
Conversation
from copy import deepcopy | ||
|
||
from schema import And, Optional, Or, Schema | ||
|
||
from schema import Schema, And, Or, Optional | ||
from Utils import get_fuzzy_results |
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 looks odd.
I think most common is either no blank line or a single blank line between all import
s and all from ... import
.
Imports are typically sorted alphabetically.
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.
The way my IDE is setup, all builtin imports are grouped together, then all pip package imports, then all local project imports.
Ultimately, it's just personal preference and if need be, I can easily revert that tweak.
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.
PEP8 only requires you to sort each individual group. Groups are separated by a blank line. The 3-way split looks verbose to me.
It's generally OK here, but I'm not sure if reformatting all files you touch (assuming that's automatic) is a good idea.
What is this fixing or adding?
Just adds a display name. Mostly so spoiler prints
Item Links
instead ofitem_links
.Also re-sorts the imports in
Option.py
since my IDE does that. :PHow was this tested?
Looked at spoiler log after generating game.
If this makes graphical changes, please attach screenshots.
wow