Comments (3)
@1m188 Can you share the logs from Output > autopep8? Make sure this is the case where it is not working.
from vscode-autopep8.
emmm, when I format my file, it show notification like this:
Traceback (most recent call last):
File "c:\Users\user name.vscode\extensions\ms-python.autopep8-2023.6.0\bundled\tool\lsp_server.py", line 429, in _run_tool_on_document
result = utils.run_module(
File "c:\Users\user name.vscode\extensions\ms-python.autopep8-2023.6.0\bundled\tool\lsp_utils.py", line 153, in run_module
return _run_module(module, argv, use_stdin, source)
File "c:\Users\user name.vscode\extensions\ms-python.autopep8-2023.6.0\bundled\tool\lsp_utils.py", line 138, in _run_module
runpy.run_module(module, run_name="main")
File "c:\Users\user name\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 228, in run_module
return _run_code(code, {}, init_globals, run_name, mod_spec)
File "c:\Users\user name\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "c:\Users\user name.vscode\extensions\ms-python.autopep8-2023.6.0\bundled\libs\autopep8.py", line 414, in
del pycodestyle._checks['logical_line'][pycodestyle.continued_indentation]
KeyError: <function continued_indentation at 0x000001A78FDC8820>
from vscode-autopep8.
Can you share the initial part of the logs where settings are passed?
from vscode-autopep8.
Related Issues (20)
- Remove Python 3.7 from tests actions HOT 1
- Add Python 3.12-dev to tests actions HOT 1
- Update library packages for the extension HOT 1
- Message: KeyError: <function continued_indentation at 0x7f79d4bdc700> Code: -32602 HOT 1
- Running 'autopep8' Formatter running forever HOT 4
- Auto-formatting inside f-strings HOT 4
- Tabs are being expanded regardless of project configuration HOT 6
- Extension 'autopep8' is configured as formatter but it cannot format 'Pyton'-files HOT 3
- Semicolon in f-string becomes newline HOT 5
- Command 'Format Document With...' resulted in an error HOT 1
- Formatting not working HOT 7
- Cannot Format Selection HOT 1
- Format not working on file save HOT 2
- Writes configuration error into the target source code HOT 3
- It can work, but there are some doubts. HOT 1
- .pep8 file in subdirectories is not respected HOT 2
- Extension should format Python code regardless of the indent errors HOT 1
- [TRIAGE] Context Menu document formatting not addressing E501 line too long HOT 1
- what is the "Unknown Configuration Setting"? HOT 5
- Incorrectly formatting strings containing emojis HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-autopep8.