Skip to content
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
Expand Up @@ -4,14 +4,14 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.13
rev: v0.15.2
hooks:
- id: ruff
args: [--fix]
- id: ruff-format

- repo: https://github.com/PyCQA/isort
rev: 7.0.0
rev: 8.0.0
hooks:
- id: isort
args: [--profile, plone]
Expand Down
1 change: 0 additions & 1 deletion src/plone/versioncheck/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import sys
import textwrap


jenv = Environment(loader=PackageLoader("plone.versioncheck", "tpl"))

FLOOR_DATE = datetime.date(1970, 1, 1)
Expand Down
1 change: 0 additions & 1 deletion src/plone/versioncheck/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import httpx
import sys


PYPI_URL = "https://pypi.org"


Expand Down
1 change: 0 additions & 1 deletion src/plone/versioncheck/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import asyncio
import sys


EPILOG = """\
States and color codes:
[A]ctive (white)
Expand Down
1 change: 0 additions & 1 deletion src/plone/versioncheck/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import sys
import time


# zc.buildout may vendorize its own copy of pkg_resources
# Define DEVELOP_DIST locally as recommended in issue #57
DEVELOP_DIST = -1
Expand Down
1 change: 0 additions & 1 deletion src/plone/versioncheck/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import struct
import subprocess


COLORED = True

_STATEMAP = {
Expand Down
1 change: 0 additions & 1 deletion tests/test_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from plone.versioncheck.formatter import browser
from plone.versioncheck.formatter import machine


pkgsinfo = {
"pkgs": {
"collective.quickupload": OrderedDict(
Expand Down
1 change: 0 additions & 1 deletion tests/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pytest
import sys


help_output = """
usage: py.test [-h] [-p] [-n] [-N] [-r] [-d] [-i] [-m] [--no-cache] [-b]
[-o [OUTPUT]] [--no-colors] [--debug-limit DEBUG_LIMIT]
Expand Down