Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ievans
6 months ago
|
parent
|
context
|
favorite
| on:
Refactoring Python with Tree-sitter and Jedi
I wrote up a Semgrep rule as a comparison to add! (also tree-sitter based, `pip install Semgrep`,
https://github.com/semgrep/semgrep
, or play with live editor link:
https://semgrep.dev/playground/s/nJ4rY
)
pattern: |- def $FUNC(..., database, ...): $...BODY fix: |- def $FUNC(..., db, ...): $...BODY
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: