Skip to content

Commit

Permalink
Initial setup
Browse files Browse the repository at this point in the history
CMK-17596
CMK-17597
  • Loading branch information
jherbel committed Jun 25, 2024
1 parent bde5bf9 commit 4618b55
Show file tree
Hide file tree
Showing 5 changed files with 379 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: CI

on: [push, pull_request]

jobs:
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"

- run: python3 -m pip install poetry

- run: poetry install --with dev

- run: poetry run black --check ./

- run: poetry run isort --check-only ./

- run: poetry run mypy ./

- run: poetry run pylint RobotmkLibrary/
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__pycache__
*.code-workspace
8 changes: 8 additions & 0 deletions RobotmkLibrary/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# pylint: disable=invalid-name, missing-module-docstring


def monitor_subsequent_keyword_runtime( # pylint: disable=missing-function-docstring
*,
discover_as: str, # pylint: disable=unused-argument
) -> None:
return
313 changes: 313 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[tool.poetry]
name = "robotframework-robotmklibrary"
version = "1.0.0"
description = "A Robot Framework keyword library intended to be used with Robotmk."
authors = ["Jörg Herbel <[email protected]>"]
packages = [
{ include = "RobotmkLibrary" },
]

[tool.poetry.dependencies]
python = "^3.12"

[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
mypy = "*"
black = "*"
isort = "*"
pylint = "*"
pytest = "*"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.mypy]
strict = true

[tool.isort]
profile = "black"

0 comments on commit 4618b55

Please sign in to comment.