Skip to content

Commit

Permalink
Fixed pylint Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
VovaVili committed Nov 20, 2024
1 parent d4c2655 commit 5c16c04
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
uv pip install --system .
uv pip install --system ".[test]"
uv pip install --system pylint
- name: Analysing the code with pylint
Expand Down
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,21 @@ dependencies = [
"python-telegram-bot>=21.7",
]
[project.optional-dependencies]
dev = [
"ruff>=0.7.3",
lint = [
"pylint>=3.3.1", # For now - https://github.com/astral-sh/ruff/issues/970
"mypy>=1.13.0",
"pre-commit-uv>=4.1.4",
]
test = [
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"pytest-mypy-plugins>=3.1.2",
"pytest-cov>=6.0.0",
"tox-uv>=1.16.0",
]
dev = [
"ruff>=0.7.3",
"mypy>=1.13.0",
"pre-commit-uv>=4.1.4",
]
[tool.mypy]
plugins = ['pydantic.mypy']
[tool.ruff]
Expand Down

0 comments on commit 5c16c04

Please sign in to comment.