diff options
author | Andrew Kutz <101085+akutz@users.noreply.github.com> | 2021-08-10 13:18:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 13:18:56 -0500 |
commit | c62cb3af59abc464380011c106b31879181e7c45 (patch) | |
tree | ea687620f82db571b4f0351bb5ab71622fb89830 /requirements.txt | |
parent | 9893dfcd2f0be92197d707236cbd44cb7452364d (diff) | |
download | vyos-cloud-init-c62cb3af59abc464380011c106b31879181e7c45.tar.gz vyos-cloud-init-c62cb3af59abc464380011c106b31879181e7c45.zip |
Update inconsistent indentation (#962)
This patch updates some indentation in a comment that prevented an
attempt to run the Black formatter (https://github.com/psf/black)
against the cloud-init codebase:
$ find cloudinit -name '*.py' -type f | xargs black -l 79 --check
...
Oh no! 💥 💔 💥
262 files would be reformatted, 19 files would be left unchanged, 1 file would fail to reformat.
The one file that fails to format is cloudinit/net/__init__.py.
With this fix in place, the black command can successfully parse the
file into AST and back again:
$ black -l 79 --check cloudinit/net/__init__.py
would reformat cloudinit/net/__init__.py
Oh no! 💥 💔 💥
1 file would be reformatted.
Normally this patch would be part of such an overall effort, but since
this is the only location that interrupted running the black command,
this author felt it was worth addressing this discrepancy sooner than
later in the case there is subsequent desire to use a standard format
tool such as black.
Diffstat (limited to 'requirements.txt')
0 files changed, 0 insertions, 0 deletions