Skip to content

Commit

Permalink
Merge pull request #113 from lsst/tickets/DM-28480
Browse files Browse the repository at this point in the history
DM-28480: Update actions to py3.8
  • Loading branch information
timj committed Jan 27, 2021
2 parents 4ec87b9 + d19c6a6 commit 50e60ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: lint

on:
- push
- pull_request
push:
branches:
- master
pull_request:

jobs:
lint:
Expand All @@ -13,11 +15,10 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8

- name: Install
run: pip install -r <(curl https://raw.githubusercontent.com/lsst/linting/master/requirements.txt)

- name: Run linter
run: flake8

4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[flake8]
max-line-length = 110
ignore = E133, E226, E228, N802, N803, N806, N812, N813, N815, N816, W504
ignore = E133, E226, E228, N802, N803, N806, N812, N813, N815, N816, W503
exclude =
bin,
doc,
Expand All @@ -10,4 +10,4 @@ exclude =

[tool:pytest]
addopts = --flake8
flake8-ignore = E133 E226 E228 N802 N803 N806 N812 N813 N815 N816 W504
flake8-ignore = E133 E226 E228 N802 N803 N806 N812 N813 N815 N816 W503

0 comments on commit 50e60ab

Please sign in to comment.