Skip to content

Commit

Permalink
fix other make commands
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-emelin committed Feb 10, 2024
1 parent 17ae060 commit c87ae66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ test:
poetry run pytest -vv tests

lint:
ruff .
poetry run ruff .

lint-fix:
ruff . --fix
poetry run ruff . --fix

lint-ci:
ruff . --output-format=github
poetry run ruff . --output-format=github
6 changes: 6 additions & 0 deletions cent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,10 @@
"Node",
"Publication",
"ClientInfo",
"CentError",
"CentNetworkError",
"CentClientDecodeError",
"CentUnauthorizedError",
"CentAPIError",
"CentTransportError",
)
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "cent"
version = "5.0.0"
description = "Python library to communicate with Centrifugo v3 HTTP API"
description = "Python library to communicate with Centrifugo v5 HTTP API"
authors = ["Alexandr Emelin", "Katant Savelev"]
license = "MIT"
readme = 'README.md'
Expand Down Expand Up @@ -80,7 +80,7 @@ ignore = [

[tool.ruff.per-file-ignores]
"tests/*" = ["S101", "PT012"]
"cent/proto/centrifugal/*" = ["RUF009", "ARG002", "E501"]
"cent/proto/centrifugal/*" = ["RUF009", "ARG002", "E501", "TCH004"]

[tool.mypy]
strict = true
Expand Down Expand Up @@ -117,7 +117,7 @@ module = [
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = ["cent.protos.centrifugal.*"]
module = ["cent.proto.centrifugal.*"]
ignore_errors = true


Expand Down

0 comments on commit c87ae66

Please sign in to comment.