File tree Expand file tree Collapse file tree 4 files changed +18
-2
lines changed
Expand file tree Collapse file tree 4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 2222 - name : 🦾 Install dependencies
2323 run : uv sync --dev
2424 - name : 🧪 Test
25- run : uv run pytest test/
25+ run : uv run pytest test/ src/
Original file line number Diff line number Diff line change 77 - id : check-yaml
88 - id : check-toml
99 - id : check-added-large-files
10+ - id : check-ast
11+ - id : check-docstring-first
12+ - id : detect-private-key
13+ - id : check-symlinks
1014 - repo : https://github.com/astral-sh/ruff-pre-commit
1115 rev : v0.14.10
1216 hooks :
Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ where = [ "src" ]
4747target-version = " py39"
4848
4949line-length = 120
50+ format.indent-style = " space"
51+ format.quote-style = " double"
5052lint.select = [
5153 " B" , # flake8-bugbear - https://docs.astral.sh/ruff/rules/#flake8-bugbear-b
5254 " D" , # pydocstyle - https://docs.astral.sh/ruff/rules/#pydocstyle-d
@@ -59,3 +61,9 @@ lint.select = [
5961 " W" , # pycodestyle warnings - https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
6062]
6163lint.isort.known-first-party = [ " sandbox" ]
64+
65+ [tool .pytest .ini_options ]
66+ addopts = [
67+ " --color=yes" ,
68+ " --doctest-modules" ,
69+ ]
Original file line number Diff line number Diff line change 22
33
44def hello () -> str :
5- """Return the string "World"."""
5+ """Return the string "World".
6+
7+ >>> hello()
8+ 'World'
9+ """
610 return "World"
You can’t perform that action at this time.
0 commit comments