Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 28, 2022
1 parent bf4c4da commit 0ff6123
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ def coverage(session):
Run the unit and regular tests.
"""
session.install(".[test]", "pytest-cov")
session.run("pytest", "tests", "--cov=awkward", "--cov-report=xml", *session.posargs)
session.run(
"pytest", "tests", "--cov=awkward", "--cov-report=xml", *session.posargs
)


@nox.session
Expand All @@ -59,4 +61,3 @@ def docs(session):
session.run("python", "-m", "http.server", "8000", "-d", "_build/html")
else:
session.error("Unsupported argument to docs")

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ messages_control.enable = [
]
messages_control.disable = [
"abstract-method", # TODO: check but might need to keep disabled
"arguments-differ", # TODO: some of these can be cleaned up
"arguments-differ", # TODO: some of these can be cleaned up
"attribute-defined-outside-init", # TODO: These should be avoided!
"bad-super-call", # TODO: investigate!
"broad-except", # TODO: investigate
Expand All @@ -102,7 +102,7 @@ messages_control.disable = [
"consider-using-in", # TODO
"consider-using-max-builtin", # TODO
"consider-using-min-builtin", # TODO
"duplicate-code", # Hahahaha
"duplicate-code", # Hahahaha
"exec-used", # TODO: locally disable
"fixme",
"global-statement", # TODO: locally disable if really required
Expand Down

0 comments on commit 0ff6123

Please sign in to comment.