-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
added nano; simplify #168
added nano; simplify #168
Conversation
pywhat/Data/regex.json
Outdated
"Regex": "^(nano|xrb)_[13]{1}[13456789abcdefghijkmnopqrstuwxyz]{59}$", | ||
"plural_name": false, | ||
"Description": null, | ||
"Rarity": 0.8, |
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 probably 1 because it require having the string nano
or xrb
in 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.
i thought so too but I didn't want to over estimate. I can make that change today. What about the 10 checks failing?
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.
Try running pytest
on your machine inside of the PyWhat directory, so that tests run and you can see the reason why ones are failing.
And don't forget to run black
and isort
for your code formatting. :)
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.
will do :)
Failing because:
|
gotcha gotcha that makes sense. Will change when i get the chance :) |
I'll check this out later when I'm on my home pc and make sure there are no more failing tests. |
does the position in |
thanks to SkeletalDemise and r49behind from bee's discord :)
Hey! Mind fixing the merge conflict and I can merge? Thanks!!! :) |
merge conflicts gone 🦀 |
made some small changes which shouldn't affect logic and added nano.
changes:
scripts/get_file_sigs.py
use https protocoldict()
with{}
if / elses
w/ ternary expressionsset([])
w/{}
lmk what you think 👍🏼