Skip to content

Commit c864942

Browse files
authored
Misc. cleanup for project setup (#1)
* ci: fix branch configuration * readme: add initial content * add .gitignore * add code quality checks managed by pre-commit
1 parent f308a34 commit c864942

8 files changed

Lines changed: 520 additions & 5 deletions

File tree

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
max-line-length = 88
3+
ignore = E501, E203, W503
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Code Quality
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
pre-commit:
10+
name: Linting
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-python@v2
15+
- uses: pre-commit/action@v2.0.0

.github/workflows/installer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'install-poetry.py'
77
- '.github/workflows/installer.yml'
88
branches:
9-
- master
9+
- main
1010
pull_request:
1111
paths:
1212
- 'install-poetry.py'

0 commit comments

Comments
 (0)