arcade icon indicating copy to clipboard operation
arcade copied to clipboard

Autoformatting

Open benjamin-kirkbride opened this issue 3 weeks ago • 12 comments

How do people feel about implementing (and enforcing) autoformatting in Arcade? Specifically:

  • Black for code (120 char line length)
  • Ruff for imports

Some considerations:

  • we would likely need to disable this for sphinx purposes on some files
  • git blame can be preserved (inconveniently) using this: https://black.readthedocs.io/en/stable/guides/introducing_black_to_your_project.html#avoiding-ruining-git-blame

benjamin-kirkbride avatar Jun 26 '24 02:06 benjamin-kirkbride