Add Poetry project
This commit is contained in:
parent
55a8f931b6
commit
d8c854ec6d
4 changed files with 21 additions and 0 deletions
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'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue