Comments (4)
No, really, this is nonsense. rope is not expected to fix broken code, and I don't want to make it into corrector of one.
from rope.
No, really, this is nonsense. rope is not expected to fix broken code, and I don't want to make it into corrector of one.
Thank you for the clarification.
I would like to disagree on the "nonsense" part, though. Certain features of Rope, for example completion suggestions, calltips, etc., are primarily useful when editing a source file. While editing source code, those files will not be syntactically correct. Relying on syntactically correct source files makes those features in Rope mostly useless.
Additionally, rope already does some automatic corrections in source files (max_fixes
). In addition to that, it already does catch syntax errors in certain cases (ModuleSyntaxError
). This allows users of Rope to distinguish errors in Rope from errors caused by malformed input sources. You are now asking users of Rope to ignore all exceptions Rope might throw as "probably because the input was malformed", which means it will be impossible to detect and report actual errors in Rope.
I can do this of course. I just want to make sure that you are aware of this problem.
from rope.
First of all, let me apologize for that “nonsense”. I shouldn’t use the term. On the other hand, let me present to you my “mission statement” in #57 (comment) . If you have any free capacity and produce a pull request, I will certainly consider it. On the third hand, being syntactically correct is not that difficult with help of flake8
or similar validator and proper plugin to your $EDITOR
.
from rope.
OK, following on dicussing on jorgenschaefer/elpy#702 reopening this ticket. If anybody provides pull request, I am willing to consider it.
from rope.
Related Issues (20)
- AutoImport's `get_modules` is case insensitive HOT 4
- Provide non editor-centric APIs HOT 2
- Small typo in https://rope.readthedocs.io/en/latest/contributing.html
- AutoImport.generate_modules_cache can be speeded up by 2x HOT 1
- RFE: is it possible to start making github releases?🤔 HOT 3
- 1.11.0: pytest is failing in `ropetest/contrib/autoimporttest.py::AutoImportTest::test_search_submodule` unit HOT 3
- 1.11.0: sphinx warnings `reference target not found` HOT 1
- Any prerequisites for a new release (> 1.6.0)? HOT 3
- MoveModule creates new top-level imports HOT 5
- Extract of incomplete block is allowed to half-execute
- autoimport does not correctly use index HOT 1
- Inline Method refactoring is allowed in methods of the descriptor protocol HOT 1
- Applying the Inline Method refactoring does not add the required import.
- Inline Method refactoring is allowed in abstract methods.
- Compilation error after applying the Inline method refactoring
- The Rename Method refactoring is allowed in the overridden method.
- New Release HOT 2
- 1.12.0: pytest fails in `ropetest/contrib/autoimporttest.py::AutoImportTest::test_search_submodule` unit and some pytest warnings HOT 13
- The Inline Method is allowed for constructor methods HOT 1
- Configure auto-import to omit src from import statements 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 rope.