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

util: make os_chmod best-effort, unless critical=True is specified #8997

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

util: make os_chmod best-effort, unless critical=True is specified

0ac5bfb
Select commit
Loading
Failed to load commit list.
Open

util: make os_chmod best-effort, unless critical=True is specified #8997

util: make os_chmod best-effort, unless critical=True is specified
0ac5bfb
Select commit
Loading
Failed to load commit list.
Cirrus CI / linter: Flake8 Non-Mandatory completed Apr 8, 2024 in 57s

Task Summary

Instruction flake8 failed in 00:30

Details

✅ 00:19 clone
✅ 00:01 pip
✅ 00:02 install
❌ 00:30 flake8

5     E121 continuation line under-indented for hanging indent
1641  E122 continuation line missing indentation or outdented
10    E123 closing bracket does not match indentation of opening bracket's line
4     E124 closing bracket does not match visual indentation
1     E125 continuation line with same indent as next logical line
49    E126 continuation line over-indented for hanging indent
43    E127 continuation line over-indented for visual indent
71    E128 continuation line under-indented for visual indent
59    E131 continuation line unaligned for hanging indent
25    E201 whitespace after '{'
4     E202 whitespace before '}'
76    E203 whitespace before ':'
3     E211 whitespace before '('
105   E221 multiple spaces before operator
45    E222 multiple spaces after operator
144   E225 missing whitespace around operator
666   E226 missing whitespace around arithmetic operator
5     E227 missing whitespace around bitwise or shift operator
94    E228 missing whitespace around modulo operator
368   E231 missing whitespace after ','
390   E241 multiple spaces after ','
194   E251 unexpected spaces around keyword / parameter equals
25    E252 missing whitespace around parameter equals
119   E261 at least two spaces before inline comment
22    E262 inline comment should start with '# '
215   E265 block comment should start with '# '
47    E266 too many leading '#' for block comment
7     E271 multiple spaces after keyword
1     E272 multiple spaces before keyword
1     E275 missing whitespace after keyword
165   E301 expected 1 blank line, found 0
286   E302 expected 2 blank lines, found 1
58    E303 too many blank lines (3)
24    E305 expected 2 blank lines after class or function definition, found 1
174   E306 expected 1 blank line before a nested definition, found 0
2     E401 multiple imports on one line
52    E402 module level import not at top of file
12003 E501 line too long (135 > 79 characters)
80    E502 the backslash is redundant between brackets
235   E701 multiple statements on one line (colon)
4     E702 multiple statements on one line (semicolon)
19    E704 multiple statements on one line (def)
18    E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
57    E731 do not assign a lambda expression, use a def
37    E741 ambiguous variable name 'l'
694   F401 '.util.format_satoshis' imported but unused
6     F402 import '_' from line 58 shadowed by loop variable
87    F541 f-string is missing placeholders
16    F811 redefinition of unused 'format_satoshis' from line 44
183   F841 local variable 'e' is assigned to but never used
1     F901 'raise NotImplemented' should be 'raise NotImplementedError'
34    W391 blank line at end of file
154   W503 line break before binary operator
107   W504 line break after binary operator
19127
�������������������������������������������������������������������������������������������������������������