@@ -118,6 +118,7 @@ select = [
118
118
" PIE" , # flake8-pie
119
119
" PL" , # pylint
120
120
" RSE" , # flake8-raise
121
+ " S" , # flake8-bandit
121
122
" SIM" , # flake8-simplify
122
123
" TCH" , # flake8-type-checking
123
124
" TID" , # flake8-tidy-imports
@@ -126,18 +127,20 @@ select = [
126
127
" YTT" , # flake8-2020
127
128
]
128
129
ignore = [
129
- " E501" , # Avoid enforcing line-length violations
130
- " ISC001" , # Single-line-implicit-string-concatenation, conflict with formatter
131
- " PD901" , # Allow using the generic variable name `df` for DataFrames
130
+ " E501" , # Avoid enforcing line-length violations
131
+ " ISC001" , # Single-line-implicit-string-concatenation, conflict with formatter
132
+ " PD901" , # Allow using the generic variable name `df` for DataFrames
132
133
" PLR2004" , # Allow any magic values
133
- " SIM117" , # Allow nested `with` statements
134
+ " S603" , # Allow method calls that initiate a subprocess without a shell
135
+ " SIM117" , # Allow nested `with` statements
134
136
]
135
137
136
138
[tool .ruff .lint .isort ]
137
139
known-third-party = [" pygmt" ]
138
140
139
141
[tool .ruff .lint .per-file-ignores ]
140
142
"__init__.py" = [" F401" ] # Ignore `F401` (unused-import) in all `__init__.py` files
143
+ "*/tests/test_*.py" = [" S101" ] # Ignore `S101` (use of assert) in all tests files
141
144
142
145
[tool .ruff .lint .pycodestyle ]
143
146
max-doc-length = 79
0 commit comments