add autopep8 source formatter

This commit is contained in:
sebthom
2022-02-01 06:46:22 +01:00
parent 92dbc6615b
commit dfc6481541
4 changed files with 53 additions and 3 deletions

25
pdm.lock generated
View File

@@ -32,6 +32,15 @@ version = "21.4.0"
requires_python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
summary = "Classes Without Boilerplate"
[[package]]
name = "autopep8"
version = "1.6.0"
summary = "A tool that automatically formats Python code to conform to the PEP 8 style guide"
dependencies = [
"pycodestyle>=2.8.0",
"toml",
]
[[package]]
name = "bandit"
version = "1.7.2"
@@ -254,6 +263,12 @@ version = "1.11.0"
requires_python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
summary = "library with cross-python path, ini-parsing, io, code, log facilities"
[[package]]
name = "pycodestyle"
version = "2.8.0"
requires_python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
summary = "Python style guide checker"
[[package]]
name = "pycparser"
version = "2.21"
@@ -522,7 +537,7 @@ dependencies = [
[metadata]
lock_version = "3.1"
content_hash = "sha256:92d73225adbc3f8c9e16ea26f15a46a8edb985480a6ce601023aed3ed5336f05"
content_hash = "sha256:774c08638da83171a24511eb8eecb055bc0b09bd5b38263118dd8ac32b842bdd"
[metadata.files]
"altgraph 0.17.2" = [
@@ -545,6 +560,10 @@ content_hash = "sha256:92d73225adbc3f8c9e16ea26f15a46a8edb985480a6ce601023aed3ed
{file = "attrs-21.4.0-py2.py3-none-any.whl", hash = "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4"},
{file = "attrs-21.4.0.tar.gz", hash = "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd"},
]
"autopep8 1.6.0" = [
{file = "autopep8-1.6.0-py2.py3-none-any.whl", hash = "sha256:ed77137193bbac52d029a52c59bec1b0629b5a186c495f1eb21b126ac466083f"},
{file = "autopep8-1.6.0.tar.gz", hash = "sha256:44f0932855039d2c15c4510d6df665e4730f2b8582704fa48f9c55bd3e17d979"},
]
"bandit 1.7.2" = [
{file = "bandit-1.7.2-py3-none-any.whl", hash = "sha256:e20402cadfd126d85b68ed4c8862959663c8c372dbbb1fca8f8e2c9f55a067ec"},
{file = "bandit-1.7.2.tar.gz", hash = "sha256:6d11adea0214a43813887bfe71a377b5a9955e4c826c8ffd341b494e3ab25260"},
@@ -816,6 +835,10 @@ content_hash = "sha256:92d73225adbc3f8c9e16ea26f15a46a8edb985480a6ce601023aed3ed
{file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"},
{file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"},
]
"pycodestyle 2.8.0" = [
{file = "pycodestyle-2.8.0-py2.py3-none-any.whl", hash = "sha256:720f8b39dde8b293825e7ff02c475f3077124006db4f440dcbc9a20b76548a20"},
{file = "pycodestyle-2.8.0.tar.gz", hash = "sha256:eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f"},
]
"pycparser 2.21" = [
{file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"},
{file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"},