Skip to content

Commit 081a3d0

Browse files
authored
Fix Codacy configuration (#4262)
1 parent 8755281 commit 081a3d0

3 files changed

Lines changed: 1 addition & 9 deletions

File tree

.codacy.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
---
33
engines:
44
coverage:
5-
enabled: false
65
exclude_paths: ["tests"]
7-
metrics:
8-
enabled: true
9-
duplication:
10-
enabled: true
11-
ruff:
12-
enabled: true
136

147
exclude_paths:
158
[

doc/sphinx/source/community/code_documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ the reported issues, run:
212212

213213
.. code-block:: bash
214214
215-
ruff check esmvaltool/diag_scripts/your_diagnostic/your_script.py
215+
ruff check --fix esmvaltool/diag_scripts/your_diagnostic/your_script.py
216216
217217
Each code quality check performed by ruff is called a ``rule`` and has a unique
218218
code, e.g. ``RET504``. For a detailed explanation of the purpose of these rules,

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ exclude_lines = [
188188
ignore-words-list = "emac,hist,oce,pres,vas,runn"
189189

190190
[tool.ruff]
191-
fix = true
192191
line-length = 79
193192
show-fixes = true
194193

0 commit comments

Comments
 (0)