Skip to content

Commit

Permalink
ENH run flake8 job on PRs from forks (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathurinm authored Apr 19, 2022
1 parent 0ed7282 commit 83c4628
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: linter

on: push
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'


jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion celer/tests/test_logreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np
from numpy.linalg import norm

from numpy.testing import assert_allclose, assert_array_less, assert_array_equal
from numpy.testing import assert_allclose, assert_array_less
from sklearn.linear_model._logistic import _logistic_regression_path
from sklearn.utils.estimator_checks import check_estimator
from sklearn.linear_model import LogisticRegression as sklearn_Logreg
Expand Down
1 change: 0 additions & 1 deletion celer/tests/test_mtl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pytest
import warnings
import itertools

import numpy as np
Expand Down

0 comments on commit 83c4628

Please sign in to comment.