Skip to content

Commit 408c391

Browse files
committed
housekeeping
1 parent 08278ea commit 408c391

File tree

4 files changed

+579
-6
lines changed

4 files changed

+579
-6
lines changed

.flake8

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[flake8]
2-
max-line-length = 888
2+
ignore = E203, E266, E501, W503, E211, E731
3+
max-line-length = 88
4+
select = B,C,E,F,W,T4,B9

.github/workflows/codeql-analysis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,31 @@ name: "Code scanning - action"
22

33
on:
44
push:
5+
branches: [main]
56
pull_request:
7+
branches: [main]
68
schedule:
79
- cron: '0 3 * * 6'
810

11+
concurrency:
12+
group: codeql-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
915
jobs:
1016
CodeQL-Build:
1117

1218
runs-on: ubuntu-latest
1319

20+
permissions:
21+
security-events: write
22+
1423
steps:
1524
- name: Checkout repository
1625
uses: actions/checkout@v2
1726
with:
1827
# We must fetch at least the immediate parents so that if this is
1928
# a pull request then we can checkout the head.
2029
fetch-depth: 2
21-
22-
# If this run was triggered by a pull request event, then checkout
23-
# the head of the pull request instead of the merge commit.
24-
- run: git checkout HEAD^2
25-
if: ${{ github.event_name == 'pull_request' }}
2630

2731
# Initializes the CodeQL tools for scanning.
2832
- name: Initialize CodeQL

.isort.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[settings]
2+
multi_line_output=3
3+
include_trailing_comma=True
4+
force_grid_wrap=0
5+
use_parentheses=True
6+
line_length=88

0 commit comments

Comments
 (0)