Skip to content

Commit a6c5897

Browse files
committed
Merge branch 'main' of github.com:PythonBiellaGroup/website
2 parents 2f1ba32 + b6fe5f5 commit a6c5897

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/learning/better_code/ruff/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def sum_even_numbers(numbers: List[int]) -> int:
100100
#### Ignorare errori nel file di configurazione
101101

102102
```ini
103+
[lint]
103104
# Enable flake8-bugbear (`B`) rules.
104105
select = ["E", "F", "B"]
105106

@@ -110,7 +111,7 @@ ignore = ["E501"]
110111
unfixable = ["B"]
111112

112113
# Ignore `E402` (import violations) in all `__init__.py` files, and in `path/to/file.py`.
113-
[per-file-ignores]
114+
[lint.per-file-ignores]
114115
"__init__.py" = ["E402"]
115116
"path/to/file.py" = ["E402"]
116117
```

0 commit comments

Comments
 (0)