Skip to content

Commit

Permalink
Define build and version
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Mar 30, 2024
1 parent 9d54c3b commit eea5188
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ classifiers = [
"Framework :: Robot Framework :: Library",
"Topic :: Software Development :: Testing :: Acceptance",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
Expand All @@ -32,6 +37,14 @@ packages = ["robotframework_browser_translation_fi"]
[tool.setuptools.package-data]
robotframework_browser_translation_fi = ["*.json"]

[tool.semantic_release]
version_toml = [
"pyproject.toml:project.version",
]
version_variables = [
"robotframework_browser_translation_fi/__init__.py:__version__",
]

[tool.black]
target-version = ['py38']
exclude = '''
Expand Down
2 changes: 0 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ black >= 24.1.1
ruff >= 0.2.1
invoke >= 2.2.0
pytest >= 7.4.2
twine >= 4.0.2
rellu >= 0.7
approvaltests == 11.1.3
robotframework-tidy >= 4.9.0
python-semantic-release >= 9.3.1
Expand Down
2 changes: 2 additions & 0 deletions robotframework_browser_translation_fi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
from pathlib import Path
from typing import TypedDict

__version__ = "0.0.1"


class Language(TypedDict):
language: str
Expand Down

0 comments on commit eea5188

Please sign in to comment.