Mauricio Herrera Cuadra
Mauricio Herrera Cuadra
Can we get this merged and released?
A knob `BLANK_LINES_BETWEEN_TOP_LEVEL_IMPORTS_AND_VARIABLES` will be available in version `0.31.0` of YAPF
@diegovalenzuelaiturra Your isort config is missing `lines_after_imports` explicitly set to something, otherwise the default will be different depending on the code. According to the isort docs: ``` lines_after_imports: Forces a...
> Aesthetically, I'd say I'll take a _single_ `# yapf: disable` directive over either of the above, but—since it's in a single file for now—I think I prefer these, to...
A knob `BLANK_LINES_BETWEEN_TOP_LEVEL_IMPORTS_AND_VARIABLES` will be available in version `0.31.0` of YAPF
> any idea when 0.31.0 would be available ? No idea about the release schedule for YAPF. Probably a question for @gwelymernans to answer.
@LECbg Try with a trailing comma for each import, both isort and YAPF should respect that: ```python from rest_framework_simplejwt.serializers import ( TokenObtainPairSerializer as ObtainPairSerializer, TokenRefreshSerializer as RefreshSerializer, ) ```
@hsejour Can you provide a status/ETA on this? Thanks!
Any updates on merging the PR for this feature?
@kdaily Can this be reviewed and merged please?