[project]
name = "simple-jira-mcp"
version = "0.1.0"
description = "MCP server for Jira Cloud integration"
requires-python = ">=3.11"
dependencies = [
"mcp",
"httpx",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"mypy",
"ruff",
]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
show_error_codes = true
exclude = ["venv", "tests"]
[[tool.mypy.overrides]]
module = ["mcp.*", "httpx.*"]
ignore_missing_imports = true
[tool.ruff]
target-version = "py311"
line-length = 88
exclude = ["venv", ".venv", "__pycache__", ".mypy_cache", ".pytest_cache"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"PTH", # flake8-use-pathlib
"ERA", # eradicate (commented-out code)
"PL", # Pylint
"RUF", # Ruff-specific rules
"S", # flake8-bandit (security)
"N", # pep8-naming
"D", # pydocstyle
"ANN", # flake8-annotations
"ASYNC", # flake8-async
"T20", # flake8-print (no print statements)
]
ignore = [
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"D203", # 1 blank line required before class docstring (conflicts with D211)
"D213", # Multi-line docstring summary should start at the second line
"PLR0913", # Too many arguments to function call
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = [
"S101", # assert allowed in tests
"S105", # hardcoded passwords allowed in tests (test data)
"S106", # hardcoded password in argument allowed in tests (test data)
"ANN", # annotations not required in tests
"D", # docstrings not required in tests
"ARG", # unused arguments allowed in tests (fixtures)
"PLR2004", # magic values allowed in tests
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"