Skip to content

Update validate_solutions.py #11351

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

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion scripts/validate_solutions.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env python3
import hashlib
import importlib.util
import json
import os
import pathlib
from types import ModuleType

import datetime

Check failure on line 8 in scripts/validate_solutions.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (F401)

scripts/validate_solutions.py:8:8: F401 `datetime` imported but unused
Copy link
Contributor

@imSanko imSanko Apr 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also you need to runpre-commit

  • Install, before you can run hooks, you need to have the pre-commit package manager installed.
  • pip install pre-commit

then > pre-commit

  • How to expect?

run python pre-commit-#.#.#.pyz ... in place of pre-commit ...

import pytest
import requests

Expand Down
Loading