Skip to content

Commit 1111fdf

Browse files
committed
Add codecov cov settings
1 parent 30945ee commit 1111fdf

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

codecov.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
ignore:
22
- ./monkey_patch_invoke.py
33
- ./tasks.py
4+
5+
coverage:
6+
status:
7+
project: no
8+
patch: no
9+
changes: no

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ allow_split_before_dict_value = false
3636

3737
[tool.ruff]
3838
line-length = 119
39-
select = ["PLE", "PLR", "PLW", "E", "W", "F", "I", "Q", "C", "B"]
39+
select = ["PLE", "PLW", "E", "W", "F", "I", "Q"]
4040

4141
[tool.pytest.ini_options]
4242
addopts = ["--cov=aishell"]
@@ -52,7 +52,7 @@ pydantic = "^1.10.5"
5252
yt-dlp = "^2023.3.3"
5353

5454
[tool.poetry.scripts]
55-
aishell = "aishell:main"
55+
ygka = "ygka:main"
5656

5757
[tool.ruff.flake8-quotes]
5858
inline-quotes = "single"

tasks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def test(context: Context):
2727
@task
2828
def format_code(context: Context, verbose: bool = False):
2929
commands = [
30-
f'pautoflake {get_project_path()}',
3130
f'ruff --fix {get_project_path()}',
3231
f'yapf --in-place --recursive --parallel {get_project_path()}',
3332
]

0 commit comments

Comments
 (0)