diff --git a/.envrc b/.envrc index b3f198b..a68dd74 100644 --- a/.envrc +++ b/.envrc @@ -15,4 +15,5 @@ elif on_git_branch master; then else export MM_ENV="DEVELOPMENT" export MM_DB="mysql+mysqldb://dev_musicmuster:dev_musicmuster@localhost/dev_musicmuster" + export PYTHONBREAKPOINT="pudb.set_trace" fi diff --git a/poetry.lock b/poetry.lock index c41d3dd..6b4ef70 100644 --- a/poetry.lock +++ b/poetry.lock @@ -775,6 +775,27 @@ files = [ {file = "ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"}, ] +[[package]] +name = "pudb" +version = "2022.1.3" +description = "A full-screen, console-based Python debugger" +category = "dev" +optional = false +python-versions = "~=3.6" +files = [ + {file = "pudb-2022.1.3.tar.gz", hash = "sha256:58e83ada9e19ffe92c1fdc78ae5458ef91aeb892a5b8f0e7379e6fa61e0e664a"}, +] + +[package.dependencies] +jedi = ">=0.18,<1" +packaging = ">=20.0" +pygments = ">=2.7.4" +urwid = ">=1.1.1" +urwid_readline = "*" + +[package.extras] +completion = ["shtab"] + [[package]] name = "pure-eval" version = "0.2.2" @@ -1447,6 +1468,34 @@ brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)", "brotlipy (>=0.6.0)"] secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress", "pyOpenSSL (>=0.14)", "urllib3-secure-extra"] socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] +[[package]] +name = "urwid" +version = "2.1.2" +description = "A full-featured console (xterm et al.) user interface library" +category = "dev" +optional = false +python-versions = "*" +files = [ + {file = "urwid-2.1.2.tar.gz", hash = "sha256:588bee9c1cb208d0906a9f73c613d2bd32c3ed3702012f51efe318a3f2127eae"}, +] + +[[package]] +name = "urwid-readline" +version = "0.13" +description = "A textbox edit widget for urwid that supports readline shortcuts" +category = "dev" +optional = false +python-versions = "*" +files = [ + {file = "urwid_readline-0.13.tar.gz", hash = "sha256:018020cbc864bb5ed87be17dc26b069eae2755cb29f3a9c569aac3bded1efaf4"}, +] + +[package.dependencies] +urwid = "*" + +[package.extras] +dev = ["black", "pytest"] + [[package]] name = "wcwidth" version = "0.2.6" @@ -1479,4 +1528,4 @@ test = ["websockets"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "5b77f72eb2ceb776d3aaf74c918b162984b5348dff61b9267d5e3ab68388cf1c" +content-hash = "cb1651be218a8b54d618e1e8c67f53b8baaa81686538f9b1dccb4a34d2800178" diff --git a/pyproject.toml b/pyproject.toml index e828c90..f12cfa9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,6 +36,9 @@ flakehell = "^0.9.0" sqlalchemy2-stubs = "^0.0.2-alpha.32" mypy = "^0.991" +[tool.poetry.group.dev.dependencies] +pudb = "^2022.1.3" + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"