-
Notifications
You must be signed in to change notification settings - Fork 100
Remove unused imports #180
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
base: main
Are you sure you want to change the base?
Conversation
.gitignore
Outdated
@@ -1 +1,2 @@ | |||
__pycache__ | |||
.idea/ |
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 needs to be in your local global .gitignore, not added here.
clang-format.py
Outdated
for word in (['E.g:', argv[0]] + example_args): | ||
print word, | ||
print '' | ||
print(word,) |
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 doesn't do anything in python 3. If the point is to print without a newline but a space after use
print(word, end=' ')
clang-format.py
Outdated
print word, | ||
print '' | ||
print(word,) | ||
print('') |
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.
print()
works too to print a newline
Why are you changing the permissions of clang-format.py? |
Oof, I woulda wanted to remove that change, but I forgot to.
…On Fri, Mar 28, 2025 at 1:12 AM fanquake ***@***.***> wrote:
Why are you changing the permissions of clang-format.py?
—
Reply to this email directly, view it on GitHub
<#180 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMRS4W33JQVUW2XRL2SZRGL2WSHWXAVCNFSM6AAAAABZQ4JQDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONJZHEZDIMRVGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[image: fanquake]*fanquake* left a comment
(bitcoin-core/bitcoin-maintainer-tools#180)
<#180 (comment)>
Why are you changing the permissions of clang-format.py?
—
Reply to this email directly, view it on GitHub
<#180 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMRS4W33JQVUW2XRL2SZRGL2WSHWXAVCNFSM6AAAAABZQ4JQDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONJZHEZDIMRVGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
list-pulls.py: Remove unused import. termlib/attr.py: Explicit class methods. termlib/tableprinter.py: Adapts signature change. treehash512.py: Remove unused imports.
.gitignore: Ignore PyCharm metadata.
clang-format.py: Python 3.
list-pulls.py: Remove unused import.
termlib/attr.py: Explicit class methods.
termlib/tableprinter.py: Adapts signature change.
treehash512.py: Remove unused imports.