Skip to content

Commit dd3e393

Browse files
Max updates dogworkday (Fix bandit, Set purple color for Board members) (brisbanesocialchess#351)
* bandit error * Add role-board * Update docs/style.css Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * fix bandit: exclude - source https://bandit.readthedocs.io/en/latest/config.html * change .bandit to bandit.yaml * change run command in precommit config --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 2411abf commit dd3e393

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,6 @@ repos:
204204
- id: bandit
205205
name: A security linter from PyCQA
206206
description: Bandit is a tool designed to find common security issues in Python code
207-
args: ['-c', 'bandit.yaml']
207+
args: ['-c', 'bandit.yaml', '-r', '.']
208208
files: \.py$
209209
pass_filenames: false

bandit.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
# FILE: bandit.yaml
12
exclude_dirs: ['node_modules', 'packages/cfsite/node_modules']
3+
tests: ['B201', 'B301']
4+
skips: ['B101', 'B601']

docs/about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ <h2><span aria-hidden="true">🎮</span> Discord Moderators</h2>
185185
</a>
186186
</div>
187187
<div class="github-profile github-profile--small">
188-
<a href="https://github.com/LuckyNotGood" class="role-moderator">
188+
<a href="https://github.com/LuckyNotGood" class="role-board">
189189
<img class="github-avatar" src="https://avatars.githubusercontent.com/u/172946035?v=4&s=125" alt="Matt McLean avatar">
190190
<br>
191191
<span>Matt McLean</span>
@@ -212,7 +212,7 @@ <h2><span aria-hidden="true">🎮</span> Discord Moderators</h2>
212212
</a>
213213
</div>
214214
<div class="github-profile github-profile--small">
215-
<a href="https://github.com/garveybiz" class="role-moderator">
215+
<a href="https://github.com/garveybiz" class="role-board">
216216
<img class="github-avatar" src="https://avatars.githubusercontent.com/u/7419130?v=4&s=125" alt="Rob Garvey avatar">
217217
<br>
218218
<span>Rob Garvey</span>

docs/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,12 @@ form fieldset input[type='radio'] {
363363
.role-admin {
364364
color: red;
365365
}
366+
.role-board {
367+
color: #b9abff;
368+
}
366369
.role-leader {
367370
color: #ed7014;
368371
}
369-
370372
.role-moderator {
371373
color: yellow;
372374
}

0 commit comments

Comments
 (0)