Add Poetry project
This commit is contained in:
1
discord_rss_bot/__init__.py
Normal file
1
discord_rss_bot/__init__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
__version__ = '0.1.0'
|
15
pyproject.toml
Normal file
15
pyproject.toml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[tool.poetry]
|
||||||
|
name = "discord-rss-bot"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "RSS bot for Discord"
|
||||||
|
authors = ["Joakim Hellsén <tlovinator@gmail.com>"]
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = "^3.9"
|
||||||
|
|
||||||
|
[tool.poetry.dev-dependencies]
|
||||||
|
pytest = "^5.2"
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["poetry-core>=1.0.0"]
|
||||||
|
build-backend = "poetry.core.masonry.api"
|
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
5
tests/test_discord_rss_bot.py
Normal file
5
tests/test_discord_rss_bot.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from discord_rss_bot import __version__
|
||||||
|
|
||||||
|
|
||||||
|
def test_version():
|
||||||
|
assert __version__ == '0.1.0'
|
Reference in New Issue
Block a user