Merge pull request #3507 from derekpierre/fix-bumpversion

Fix version in pyproject.toml & deprecated ruff command/options
pull/3509/head
KPrasch 2024-05-28 15:34:19 +02:00 committed by GitHub
commit 11a0b26c82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 10 additions and 10 deletions

View File

@ -27,4 +27,4 @@ jobs:
pip install .
- name: Lint with Ruff
run: ruff --output-format=github nucypher
run: ruff check --output-format=github nucypher

View File

@ -12,7 +12,7 @@ repos:
stages: [push] # required additional setup: pre-commit install && pre-commit install -t pre-push
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
rev: v4.5.0
hooks:
# Git
@ -36,7 +36,7 @@ repos:
- id: detect-private-key
- repo: https://github.com/akaihola/darker
rev: 1.7.2
rev: v2.1.1
hooks:
- id: darker
args: ["--check"]
@ -45,6 +45,6 @@ repos:
stages: [commit]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.1.4'
rev: v0.4.5
hooks:
- id: ruff

View File

View File

@ -1,6 +1,6 @@
from _pydecimal import Decimal
from typing import Union
from _pydecimal import Decimal
from eth_utils import currency
from nucypher.types import ERC20UNits, NuNits, TuNits

View File

@ -1,9 +1,9 @@
import ssl
import time
from _socket import gethostbyname
from typing import Dict, NamedTuple
from urllib.parse import urlparse, urlunparse
from _socket import gethostbyname
from requests import PreparedRequest, Response, Session
from requests.adapters import HTTPAdapter
from requests.exceptions import RequestException

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "nucypher"
version = "7.3.0"
version = "7.4.0"
authors = ["NuCypher"]
description = "A threshold access control application to empower privacy in decentralized systems."
@ -84,8 +84,8 @@ pre-commit = '^2.12.1'
showcontent = true
[tool.ruff]
select = ["E", "F", "I"]
ignore = ["E501"]
lint.select = ["E", "F", "I"]
lint.ignore = ["E501"]
[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["nucypher"]