Skip to content

Commit

Permalink
add pytests
Browse files Browse the repository at this point in the history
  • Loading branch information
azliu0 committed Apr 14, 2024
1 parent 11c4d68 commit 50df806
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["server_tests/"]
filterwarnings = []


[tool.pyright]
exclude = ["**/node_modules", "**/__pycache__"]
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.12"
pythonPlatform = "Linux"
executionEnvironments = [{ root = "." }]


[tool.ruff]
target-version = "py38"


[tool.ruff.lint]
select = [
# pycodestyle
"E",
"W",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# pep8-naming
"N",
# pydocstyle
"D",
]


[tool.ruff.lint.per-file-ignores]


[tool.ruff.lint.pydocstyle]
convention = "google"

0 comments on commit 50df806

Please sign in to comment.