Closed kulkarnisg closed 6 months ago
Attention: 1 lines
in your changes are missing coverage. Please review.
Comparison is base (
af7399d
) 97.83% compared to head (0e21fe4
) 97.79%.
Files | Patch % | Lines |
---|---|---|
autopep8.py | 50.00% | 1 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Resolved issue (
AttributeError: 'dict' object has no attribute 'in_place' if tried
) for usingfix_file()
in python script with options as dictionary.Can use
autopep8.fix_file(python_file_name, options={'in_place': True, "aggressive": 2}, apply_config=True)
now.Details as per guidelines:
Does not involve
pycodestyle
toolautopep8 --version
autopep8 2.0.4
pycodestyle --version
2.11.1
python --version
Python 3.11.4
Not on Unix
Error while using below code directly using imports
autopep8.fix_file(python_file_name, options={'in_place': True, "aggressive": 2}, apply_config=True)
Getting:AttributeError: 'dict' object has no attribute 'in_place'
Not using autopep8 command
The implementation should not raise an error
Using the latest release