mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge branch 'aiogram:dev-3.x' into dev-3.x
This commit is contained in:
commit
1f9032bcf1
4 changed files with 15 additions and 16 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -74,7 +74,7 @@ jobs:
|
|||
- name: Lint code
|
||||
if: "env.IS_PYPY == 'false'"
|
||||
run: |
|
||||
ruff --format=github aiogram examples
|
||||
ruff --output-format=github aiogram examples
|
||||
mypy aiogram
|
||||
black --check --diff aiogram tests
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
version: 2
|
||||
|
||||
python:
|
||||
version: "3.8"
|
||||
install:
|
||||
- method: pip
|
||||
path: .
|
||||
extra_requirements:
|
||||
- docs
|
||||
- redis
|
||||
build:
|
||||
os: ubuntu-22.04
|
||||
tools:
|
||||
python: "3.11"
|
||||
jobs:
|
||||
post_install:
|
||||
- pip install .[docs,redis]
|
||||
|
||||
sphinx:
|
||||
configuration: docs/conf.py
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ from .utils.text_decorations import markdown_decoration as md
|
|||
with suppress(ImportError):
|
||||
import uvloop as _uvloop
|
||||
|
||||
_uvloop.install()
|
||||
_uvloop.install() # type: ignore[attr-defined,unused-ignore]
|
||||
|
||||
F = MagicFilter()
|
||||
flags = FlagGenerator()
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ proxy = [
|
|||
"aiohttp-socks~=0.8.3",
|
||||
]
|
||||
i18n = [
|
||||
"Babel~=2.12.1",
|
||||
"Babel~=2.13.0",
|
||||
]
|
||||
cli = [
|
||||
"aiogram-cli~=1.0.3",
|
||||
|
|
@ -74,7 +74,7 @@ test = [
|
|||
"pytest-html~=4.0.2",
|
||||
"pytest-asyncio~=0.21.1",
|
||||
"pytest-lazy-fixture~=0.6.3",
|
||||
"pytest-mock~=3.11.0",
|
||||
"pytest-mock~=3.12.0",
|
||||
"pytest-mypy~=0.10.3",
|
||||
"pytest-cov~=4.1.0",
|
||||
"pytest-aiohttp~=1.0.5",
|
||||
|
|
@ -97,12 +97,12 @@ docs = [
|
|||
"sphinxcontrib-towncrier~=0.3.2a0",
|
||||
]
|
||||
dev = [
|
||||
"black~=23.9.1",
|
||||
"black~=23.10.0",
|
||||
"isort~=5.12.0",
|
||||
"ruff~=0.0.291",
|
||||
"mypy~=1.5.1",
|
||||
"ruff~=0.1.1",
|
||||
"mypy~=1.6.1",
|
||||
"toml~=0.10.2",
|
||||
"pre-commit~=3.4.0",
|
||||
"pre-commit~=3.5.0",
|
||||
"packaging~=23.1",
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue