Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Modify slicker to handle python 3 #21

@benjaminjkraft

Description

@benjaminjkraft

It would be nice to be able to use it on our python 3 repos! I found myself wanting to move things in Khan/buildmaster and I couldn't.

I think there will be three parts to this:

  1. Use isort (Use isort instead of fix-includes #24) or make fix_python_imports 2/3 compatible.
  2. Make slicker itself 2/3 compatible -- using the python 3 ast module is probably the best way to parse python 3.
  3. Add functionality to handle new python 3 syntaxes that affect slicker's operation, like f-strings and unicode identifiers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions