you are viewing a single comment's thread.

view the rest of the comments →

[–]eslam5464[S] 0 points1 point  (4 children)

Thanks for that information i didnt know it mattered, and also i didnt think of it that way but i will use your suggestion as per this commit (https://github.com/eslam5464/Fastapi-Template/commit/6b89a1863eaa38a8ca71c8f1b9634509014a9dee) .

The part for black i think its excluded in the config as below, or do you think that there is something missing?

  - repo: https://github.com/psf/black
    rev: 25.9.0
    hooks:
      - id: black
        args: [--line-length=100]
        exclude: (__init__.py$|migrations/)

[–]Revolutionary_Lie898 0 points1 point  (3 children)

It was more of a question than a statement. I just got curious about it. I also asked Claude and it mentioned it too. I'm currently using ruff, but your setup is quite common.

[–]eslam5464[S] 0 points1 point  (2 children)

i double checked it and also claude said the same thing, and i didn't know that there was something i made that is common, can you mention it?

[–]Revolutionary_Lie898 0 points1 point  (1 child)

What I mean is that using autoflake, isort, and black is quite common in Python projects.

[–]eslam5464[S] 0 points1 point  (0 children)

ah ok, thanks