Skip to content

Commit

Permalink
Stop using pytest-flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jul 5, 2023
1 parent bc92477 commit 9a6506a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ jobs:
shell: bash -l {0}
run: |
conda install -y -q \
"flake8<5" \
pytest pytest-flake8 pytest-xdist pytest-openfiles pytest-cov
pytest pytest-xdist pytest-openfiles pytest-cov
- name: List installed packages
shell: bash -l {0}
Expand Down
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ dynamic = ["version"]
postgres = ["psycopg2"]
test = [
"pytest >= 3.2",
"flake8 >= 3.7.5",
"pytest-flake8 >= 1.0.4",
"pytest-openfiles >= 0.5.0",
"numpy >= 1.17",
"matplotlib >= 3.0.3",
Expand Down Expand Up @@ -126,8 +124,6 @@ line_length = 110
write_to = "python/lsst/daf/butler/version.py"

[tool.pytest.ini_options]
addopts = "--flake8"
flake8-ignore = ["W503", "E203", "N802", "N803", "N806", "N812", "N815", "N816"]
# The matplotlib test may not release font files.
# Some unit tests open registry database in setUpClass.
open_files_ignore = ["*.ttf", "gen3.sqlite3"]
Expand Down

0 comments on commit 9a6506a

Please sign in to comment.