Fix CI: install ruff and mypy before running checks
This commit is contained in:
@@ -8,7 +8,7 @@ version = "0.1.0"
|
|||||||
description = "OpenAPI Mock Server Generator - Generate functional mock APIs from OpenAPI 3.x specs"
|
description = "OpenAPI Mock Server Generator - Generate functional mock APIs from OpenAPI 3.x specs"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
license = {text = "MIT"}
|
license = "MIT"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "MockAPI Team"}
|
{name = "MockAPI Team"}
|
||||||
]
|
]
|
||||||
@@ -31,7 +31,6 @@ dependencies = [
|
|||||||
"uvicorn>=0.24.0",
|
"uvicorn>=0.24.0",
|
||||||
"watchdog>=3.0.0",
|
"watchdog>=3.0.0",
|
||||||
"pyyaml>=6.0.1",
|
"pyyaml>=6.0.1",
|
||||||
"starlette>=0.27.0",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
@@ -40,8 +39,6 @@ dev = [
|
|||||||
"pytest-cov>=4.1.0",
|
"pytest-cov>=4.1.0",
|
||||||
"pytest-asyncio>=0.21.0",
|
"pytest-asyncio>=0.21.0",
|
||||||
"httpx>=0.25.0",
|
"httpx>=0.25.0",
|
||||||
"ruff>=0.1.0",
|
|
||||||
"mypy>=1.7.0",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
@@ -66,4 +63,4 @@ exclude_lines = [
|
|||||||
"def __repr__",
|
"def __repr__",
|
||||||
"raise NotImplementedError",
|
"raise NotImplementedError",
|
||||||
"if __name__ == .__main__.:",
|
"if __name__ == .__main__.:",
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user