Skip to content

Commit

Permalink
Misc. cleanup for project setup (python-poetry#1)
Browse files Browse the repository at this point in the history
* ci: fix branch configuration

* readme: add initial content

* add .gitignore

* add code quality checks managed by pre-commit
  • Loading branch information
abn authored Nov 13, 2021
1 parent f308a34 commit c864942
Show file tree
Hide file tree
Showing 8 changed files with 520 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
ignore = E501, E203, W503
15 changes: 15 additions & 0 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Code Quality

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/[email protected]
2 changes: 1 addition & 1 deletion .github/workflows/installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'install-poetry.py'
- '.github/workflows/installer.yml'
branches:
- master
- main
pull_request:
paths:
- 'install-poetry.py'
Expand Down
Loading

0 comments on commit c864942

Please sign in to comment.