From 8936ac5ed5e1507282642af5a4b6963d6854fa8e Mon Sep 17 00:00:00 2001 From: Deko Date: Sat, 4 Mar 2023 11:10:40 +0100 Subject: [PATCH] Update poetry toml, move dev dependencies --- poetry.lock | 99 +++++++++++++++++++++++++++++--------------------- pyproject.toml | 15 ++++---- 2 files changed, 66 insertions(+), 48 deletions(-) diff --git a/poetry.lock b/poetry.lock index 6ec27a0..5303fd4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2,7 +2,7 @@ name = "attrs" version = "22.2.0" description = "Classes Without Boilerplate" -category = "main" +category = "dev" optional = false python-versions = ">=3.6" @@ -18,7 +18,7 @@ tests_no_zope = ["hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist", "c name = "black" version = "23.1.0" description = "The uncompromising code formatter." -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -55,7 +55,7 @@ python-versions = "*" name = "click" version = "8.1.3" description = "Composable command line interface toolkit" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -74,13 +74,26 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7 name = "coverage" version = "7.2.1" description = "Code coverage measurement for Python" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" [package.extras] toml = ["tomli"] +[[package]] +name = "flake8" +version = "6.0.0" +description = "the modular source code checker: pep8 pyflakes and co" +category = "dev" +optional = false +python-versions = ">=3.8.1" + +[package.dependencies] +mccabe = ">=0.7.0,<0.8.0" +pycodestyle = ">=2.10.0,<2.11.0" +pyflakes = ">=3.0.0,<3.1.0" + [[package]] name = "idna" version = "3.4" @@ -93,7 +106,7 @@ python-versions = ">=3.5" name = "iniconfig" version = "2.0.0" description = "brain-dead simple config-ini parsing" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -101,7 +114,7 @@ python-versions = ">=3.7" name = "isort" version = "5.12.0" description = "A Python utility / library to sort Python imports." -category = "main" +category = "dev" optional = false python-versions = ">=3.8.0" @@ -126,11 +139,19 @@ win32-setctime = {version = ">=1.0.0", markers = "sys_platform == \"win32\""} [package.extras] dev = ["colorama (>=0.3.4)", "docutils (==0.16)", "flake8 (>=3.7.7)", "tox (>=3.9.0)", "pytest (>=4.6.2)", "pytest-cov (>=2.7.1)", "black (>=19.10b0)", "isort (>=5.1.1)", "Sphinx (>=4.1.1)", "sphinx-autobuild (>=0.7.1)", "sphinx-rtd-theme (>=0.4.3)"] +[[package]] +name = "mccabe" +version = "0.7.0" +description = "McCabe checker, plugin for flake8" +category = "dev" +optional = false +python-versions = ">=3.6" + [[package]] name = "mypy-extensions" version = "1.0.0" description = "Type system extensions for programs checked with the mypy type checker." -category = "main" +category = "dev" optional = false python-versions = ">=3.5" @@ -138,7 +159,7 @@ python-versions = ">=3.5" name = "packaging" version = "23.0" description = "Core utilities for Python packages" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -146,15 +167,15 @@ python-versions = ">=3.7" name = "pathspec" version = "0.11.0" description = "Utility library for gitignore style pattern matching of file paths." -category = "main" +category = "dev" optional = false python-versions = ">=3.7" [[package]] name = "platformdirs" -version = "3.0.0" +version = "3.1.0" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -166,7 +187,7 @@ test = ["appdirs (==1.4.4)", "covdefaults (>=2.2.2)", "pytest-cov (>=4)", "pytes name = "pluggy" version = "1.0.0" description = "plugin and hook calling mechanisms for python" -category = "main" +category = "dev" optional = false python-versions = ">=3.6" @@ -174,11 +195,27 @@ python-versions = ">=3.6" dev = ["pre-commit", "tox"] testing = ["pytest", "pytest-benchmark"] +[[package]] +name = "pycodestyle" +version = "2.10.0" +description = "Python style guide checker" +category = "dev" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "pyflakes" +version = "3.0.1" +description = "passive checker of Python programs" +category = "dev" +optional = false +python-versions = ">=3.6" + [[package]] name = "pytest" version = "7.2.2" description = "pytest: simple powerful testing with Python" -category = "main" +category = "dev" optional = false python-versions = ">=3.7" @@ -196,7 +233,7 @@ testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2. name = "pytest-cov" version = "4.0.0" description = "Pytest plugin for measuring coverage." -category = "main" +category = "dev" optional = false python-versions = ">=3.6" @@ -207,28 +244,6 @@ pytest = ">=4.6" [package.extras] testing = ["fields", "hunter", "process-tests", "six", "pytest-xdist", "virtualenv"] -[[package]] -name = "pytest-cover" -version = "3.0.0" -description = "Pytest plugin for measuring coverage. Forked from `pytest-cov`." -category = "main" -optional = false -python-versions = "*" - -[package.dependencies] -pytest-cov = ">=2.0" - -[[package]] -name = "pytest-coverage" -version = "0.0" -description = "Pytest plugin for measuring coverage. Forked from `pytest-cov`." -category = "main" -optional = false -python-versions = "*" - -[package.dependencies] -pytest-cover = "*" - [[package]] name = "requests" version = "2.28.2" @@ -251,7 +266,7 @@ use_chardet_on_py3 = ["chardet (>=3.0.2,<6)"] name = "requests-mock" version = "1.10.0" description = "Mock out responses from the requests package" -category = "main" +category = "dev" optional = false python-versions = "*" @@ -267,7 +282,7 @@ test = ["fixtures", "mock", "purl", "pytest", "sphinx", "testrepository (>=0.0.1 name = "six" version = "1.16.0" description = "Python 2 and 3 compatibility utilities" -category = "main" +category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" @@ -298,7 +313,7 @@ dev = ["pytest (>=4.6.2)", "black (>=19.3b0)"] [metadata] lock-version = "1.1" python-versions = "^3.11" -content-hash = "c88f613c25a933f82f5abb7053b249fe6bc13d021c655f1da432fca43c5d2fba" +content-hash = "49398c01804a5f064b961089ffcdf2764ee95e2dd8bb35ece7bac34eec617534" [metadata.files] attrs = [] @@ -311,19 +326,21 @@ click = [ ] colorama = [] coverage = [] +flake8 = [] idna = [] iniconfig = [] isort = [] loguru = [] +mccabe = [] mypy-extensions = [] packaging = [] pathspec = [] platformdirs = [] pluggy = [] +pycodestyle = [] +pyflakes = [] pytest = [] pytest-cov = [] -pytest-cover = [] -pytest-coverage = [] requests = [] requests-mock = [] six = [] diff --git a/pyproject.toml b/pyproject.toml index 1a2ef44..ced7ebb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,20 +1,21 @@ [tool.poetry] -name = "melougoeslive" +name = "discord-twitch-live-notifier" version = "0.1.0" -description = "" +description = "Sends a notification through a Discord embed if a streamer goes live on Twitch." authors = ["Deko "] [tool.poetry.dependencies] python = "^3.11" requests = "^2.28.2" loguru = "^0.6.0" -black = "^23.1.0" -isort = "^5.12.0" -pytest = "^7.2.2" -requests-mock = "^1.10.0" -pytest-coverage = "^0.0" [tool.poetry.dev-dependencies] +black = "^23.1.0" +isort = "^5.12.0" +flake8 = "^6.0.0" +pytest = "^7.2.2" +pytest-cov = "^4.0.0" +requests-mock = "^1.10.0" [build-system] requires = ["poetry-core>=1.0.0"]