diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b5bcfa1..514284b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,14 +16,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/rbubley/mirrors-prettier - rev: 5ba47274f9b181bce26a5150a725577f3c336011 # frozen: v3.6.2 + rev: 14abee445aea04b39069c19b4bd54efff6775819 # frozen: v3.7.4 hooks: - id: prettier files: \.(css|html|md|yml|yaml|gql) args: [--prose-wrap=preserve] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 9c89adb347f6b973f4905a4be0051eb2ecf85dea # frozen: v0.13.3 + rev: 5ba58aca0bd5bc7c0e1c0fc45af2e88d6a2bde83 # frozen: v0.14.10 hooks: - id: ruff args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"] diff --git a/devstats/__main__.py b/devstats/__main__.py index 618379f..0c175b6 100644 --- a/devstats/__main__.py +++ b/devstats/__main__.py @@ -75,7 +75,6 @@ def query(repo_owner, repo_name, outdir, start_date): else: qtype = qtype_match.group(1) - qname, qext = os.path.splitext(query) data = GithubGrabber( query, qtype,