@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
9
9
[project ]
10
10
# https://peps.python.org/pep-0621/#readme
11
11
requires-python = " >=3.7"
12
- version = " 0.1.8 "
12
+ version = " 0.2.0 "
13
13
name = " pytest-github-actions-annotate-failures"
14
14
description = " pytest plugin to annotate failed tests with a workflow command for GitHub Actions"
15
15
readme = " README.md"
@@ -49,3 +49,41 @@ changelog = "https://github.com/pytest-dev/pytest-github-actions-annotate-failur
49
49
50
50
[project .entry-points .pytest11 ]
51
51
pytest_github_actions_annotate_failures = " pytest_github_actions_annotate_failures.plugin"
52
+
53
+
54
+ [tool .ruff ]
55
+ select = [
56
+ " E" , " F" , " W" , # flake8
57
+ " B" , # flake8-bugbear
58
+ " I" , # isort
59
+ " ARG" , # flake8-unused-arguments
60
+ " C4" , # flake8-comprehensions
61
+ " EM" , # flake8-errmsg
62
+ " ICN" , # flake8-import-conventions
63
+ " ISC" , # flake8-implicit-str-concat
64
+ " G" , # flake8-logging-format
65
+ " PGH" , # pygrep-hooks
66
+ " PIE" , # flake8-pie
67
+ " PL" , # pylint
68
+ " PT" , # flake8-pytest-style
69
+ " RET" , # flake8-return
70
+ " RUF" , # Ruff-specific
71
+ " SIM" , # flake8-simplify
72
+ " UP" , # pyupgrade
73
+ " YTT" , # flake8-2020
74
+ " EXE" , # flake8-executable
75
+ ]
76
+ extend-ignore = [
77
+ " PLR" , # Design related pylint codes
78
+ " E501" , # Line too long
79
+ " PT004" , # Use underscore for non-returning fixture (use usefixture instead)
80
+ ]
81
+ target-version = " py37"
82
+ unfixable = [
83
+ " T20" , # Removes print statements
84
+ " F841" , # Removes unused variables
85
+ ]
86
+ isort.required-imports = [" from __future__ import annotations" ]
87
+
88
+ [tool .ruff .per-file-ignores ]
89
+ "tests/**" = [" T20" ]
0 commit comments