Comments (1)
Adding a validation here makes sense to me. It seems like it should be fairly straightforward to add validation here in rename.py to validate that new_name
should be checked against keyword.iskeyword()
.
Would you want to take a bite at implementing this?
from rope.
Related Issues (20)
- Fix a valid mypy complaint HOT 2
- Designing our conversation HOT 5
- Status report: 2/14/23
- Relative auto-imports HOT 5
- Use upstream black
- Rename refactoring doesn't rename a function's default arguments when the renamed variable is defined in the class scope
- Missing symbols in autoimport.db
- Unknown node type <Nonlocal>; please report! RuntimeWarning HOT 2
- RemoveArgument - refactoring produces syntax errors at callsite if original code contains comments HOT 3
- Remove Argument - refactoring produces syntax error at callsite when one of the arguments contains string-formatting
- exception when refactoring method of class defined in function
- Keep from xx import yy style when moving
- Renaming methd HOT 1
- Rename refactoring allow the use of the same name of the declared method in the superclass HOT 1
- Rename refactoring doesn't apply to the references of the renamed class HOT 1
- rope_autoimport doesn't work for neovim HOT 2
- Sort functions by usage
- Mistakes HOT 1
- rope incompatible with Python 3.12 HOT 2
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.