Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
pip install -e ".[dev]"
- name: Lint with ruff
run: |
ruff check
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
pip install -e ".[dev]"
- name: Test with pytest
run: |
pytest tests/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ python3 -m venv .venv
source .venv/bin/activate

# Install the dependencies
pip3 install -r requirements.txt
pip install -e ".[dev]"

# Start your local server
python3 app.py
Expand Down
32 changes: 28 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,40 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "bolt-python-jira-functions"
version = "0.1.0"
requires-python = ">=3.10"
dependencies = [
"slack-bolt==1.28.0",
"requests==2.33.1",
"Flask==3.1.3",
]

[project.optional-dependencies]
dev = [
"pytest==9.0.3",
"ruff==0.15.12",
]

test = [
"pytest==9.0.3",
]


[tool.setuptools.packages.find]
include = ["jira*", "listeners*", "utils*"]

[tool.ruff]
line-length = 125

[tool.ruff.lint]
ignore = []
select = [
# pycodestyle error
"E",
# pycodestyle warning
"W",
# Pyflakes
"F",
# isort
"I",
]

Expand Down
5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.