Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automated python refactoring for ocap discipline #55

Open
dckc opened this issue Jan 24, 2025 · 1 comment
Open

automated python refactoring for ocap discipline #55

dckc opened this issue Jan 24, 2025 · 1 comment

Comments

@dckc
Copy link
Owner

dckc commented Jan 24, 2025

https://github.com/kensanata/mastodon-archive is a typical python project.

idea: teach aider about DisciplinedPython and have it refactor the code.

even crazier idea: interpret python ASTs using guile macros a la

@dckc
Copy link
Owner Author

dckc commented Jan 26, 2025

I had some luck using /web

/web https://github.com/dckc/awesome-ocap/wiki/DisciplinedPython
/web https://github.com/dckc/awesome-ocap/wiki/OCap-Discipline
/web https://en.wikipedia.org/wiki/Ambient_authority
/web https://www.madmode.com/2019/python-eng.html

Details:

aider was tripping over PEP8 lint; I'm inclined to start again after using autopep8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant