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

Fix flake8 errors #141

Open
razman786 opened this issue Jun 4, 2022 · 1 comment · May be fixed by #144
Open

Fix flake8 errors #141

razman786 opened this issue Jun 4, 2022 · 1 comment · May be fixed by #144
Labels
Milestone

Comments

@razman786
Copy link
Collaborator

No description provided.

@razman786 razman786 added the bug label Jun 4, 2022
@razman786 razman786 added this to the Development milestone Jun 4, 2022
@razman786 razman786 modified the milestones: Development, 1.6.2 Jun 4, 2022
@razman786
Copy link
Collaborator Author

Previously:

25    C901 'ImageControlDialog.__init__' is too complex (15)
1     E114 indentation is not a multiple of 4 (comment)
1     E116 unexpected indentation (comment)
5     E127 continuation line over-indented for visual indent
225   E128 continuation line under-indented for visual indent
1     E202 whitespace before ']'
1     E261 at least two spaces before inline comment
3     E265 block comment should start with '# '
271   E266 too many leading '#' for block comment
1     E271 multiple spaces after keyword
1     E302 expected 2 blank lines, found 1
24    E402 module level import not at top of file
56    E501 line too long (140 > 127 characters)
2     E502 the backslash is redundant between brackets
1     E703 statement ends with a semicolon
1     E721 do not compare types, use 'isinstance()'
38    E722 do not use bare 'except'
6     E741 ambiguous variable name 'l'
54    F401 'PyQt5.QtWidgets.QDockWidget' imported but unused
10    F403 'from PyQt5.QtWidgets import *' used; unable to detect undefined names
5     F405 'QApplication' may be undefined, or defined from star imports: PyQt5.QtWidgets
4     F541 f-string is missing placeholders
15    F841 local variable 'xinfo' is assigned to but never used
12    W291 trailing whitespace
7     W605 invalid escape sequence '\d'
770

Currently:

25    C901 'ImageControlDialog.__init__' is too complex (15)
3     E501 line too long (132 > 127 characters)
1     E721 do not compare types, use 'isinstance()'
6     E741 ambiguous variable name 'l'
6     F401 'PyQt5.QtCore' imported but unused
12    F841 local variable 'xinfo' is assigned to but never used
7     W605 invalid escape sequence '\d'
60

@razman786 razman786 linked a pull request Jun 8, 2022 that will close this issue
@razman786 razman786 linked a pull request Jun 24, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant