Skip to content

Commit 74bca00

Browse files
committed
fix: format according to pre-commit, rm: pylint
1 parent 871504a commit 74bca00

File tree

5 files changed

+1
-64
lines changed

5 files changed

+1
-64
lines changed

.github/matchers/pylint.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ jobs:
2626
- uses: pre-commit/[email protected]
2727
with:
2828
extra_args: --hook-stage manual --all-files
29-
- name: Run PyLint
30-
run: |
31-
echo "::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json"
32-
pipx run nox -s pylint
3329

3430
checks:
3531
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}

noxfile.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@ def lint(session: nox.Session) -> None:
1414
session.run("pre-commit", "run", "--all-files", *session.posargs)
1515

1616

17-
@nox.session
18-
def pylint(session: nox.Session) -> None:
19-
"""
20-
Run PyLint.
21-
"""
22-
# This needs to be installed into the package environment, and is slower
23-
# than a pre-commit check
24-
session.install(".", "pylint")
25-
session.run("pylint", "se_for_sci_hw6", *session.posargs)
26-
27-
2817
@nox.session
2918
def tests(session: nox.Session) -> None:
3019
"""

pyproject.toml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,3 @@ strict = true
7171
show_error_codes = true
7272
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
7373
warn_unreachable = true
74-
75-
76-
[tool.pylint]
77-
py-version = "3.7"
78-
ignore-paths= ["src/se_for_sci_hw6/_version.py"]
79-
extension-pkg-allow-list = ["se_for_sci_hw6._core"]
80-
reports.output-format = "colorized"
81-
similarities.ignore-imports = "yes"
82-
messages_control.disable = [
83-
"design",
84-
"fixme",
85-
"line-too-long",
86-
"wrong-import-position",
87-
"missing-module-docstring",
88-
]

src/se_for_sci_hw6/_core.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ import numpy.typing
66
class HarmonicOscillator:
77
def integrate(
88
self, stepsize: float, steps: int, init_y: tuple[float, float]
9-
) -> numpy.typing.NDArray[numpy.float64]:
10-
...
9+
) -> numpy.typing.NDArray[numpy.float64]: ...

0 commit comments

Comments
 (0)