Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #436

Merged
merged 2 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
repos:
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
1 change: 0 additions & 1 deletion server/autotest_server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@


class _Config:

_replacement_pattern: ClassVar[Pattern] = re.compile(r".*?\${(\w+)}.*?")
_not_found_key: ClassVar[str] = ""

Expand Down
1 change: 0 additions & 1 deletion server/autotest_server/testers/java/java_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def run(self):


class JavaTester(Tester):

JUNIT_TESTER_JAR = os.path.join(os.path.dirname(__file__), "lib", "junit-platform-console-standalone.jar")
JUNIT_JUPITER_RESULT = "TEST-junit-jupiter.xml"
JUNIT_VINTAGE_RESULT = "TEST-junit-vintage.xml"
Expand Down
1 change: 0 additions & 1 deletion server/autotest_server/testers/py/lib/sql_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ def execute_psql_file(


class PSQLTest:

connection: ClassVar[Optional[ConnectionType]] = None

SCHEMA_COPY_STR = """
Expand Down
1 change: 0 additions & 1 deletion server/autotest_server/testers/pyta/pyta_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class PytaReporter(python_ta.reporters.json_reporter.JSONReporter, python_ta.rep


class PytaTest(Test):

ERROR_MSGS = {"reported": "{} error(s)"}

def __init__(
Expand Down
1 change: 0 additions & 1 deletion server/autotest_server/testers/racket/racket_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def run(self) -> str:


class RacketTester(Tester):

ERROR_MSGS = {"bad_json": "Unable to parse test results: {}"}

def __init__(self, specs, test_class: Type[RacketTest] = RacketTest) -> None:
Expand Down
Loading