Changes based on style and lint checks. (final_code_quality_1) #1358
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-05#1358
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "final_code_quality_1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changes based on style and lint checks. (final_code_quality_1)
UI-related functionality for accounts
QT UI color for an account
Account brush (for QT UI)
Folder brush (for QT UI)
Set bitmessage address of the object
Set number of unread messages
Set account enabled (QT UI)
Set account type (QT UI)
Default label (in case no label is set manually)
Override internal QT method for returning object data
Item in the account/folder tree representing a folder
Set folder name (for QT UI)
Override internal QT method for returning object data
Item in the account/folder tree representing an account
Override internal QT method for returning object data
Set address to object (for QT UI)
Save account label (if you edit in the the UI, this will be triggered and will save it to keys.dat)
Special treating of subscription addresses
Set account type
Save subscription label to database
Set object label
Set/unset read state of an item
Return object data (QT UI)
Return object data (QT UI)
Address item in a messagelist
Set label
Return object data (QT UI)
Set object data
Message list subject item
Set subject
Return object data (QT UI)
Addressbook item
Return object data
Set data
Addressbook label item
Return object data
Addressbook address item
Return object data
Addressbook completer
Callback for cursor position change
Split on semicolon
Perform autocompletion (reimplemented QCompleter method)
It probably should be just 4. It looks like it originated in
f1b3041c9c
but I can't find any reason for it.Add docstrings, otherwise ok
Good catch! This is autopep8 doing 'the right thing' since numbers with a leading zero in them are interpreted as octal. Reverting to just
4
...The flake8 check here is complaining of
undefined name 'unicode'
, suggesting to me it's using python 3 rather than 2.@coffeedogs yea you already mentioned that, I haven't had time to check yet where the bug is.
@coffeedogs you were right, flake8 and pycodestyle were running in python3 mode. It's fixed now.