Skip to content

Commit

Permalink
chore: remove setup.cfg (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalombos authored Dec 29, 2024
1 parent 87e2e33 commit 0b05a50
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
POETRY_VIRTUALENVS_CREATE: "false"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12']

services:
postgres:
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.9.15
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ORM powered by **[asyncio](https://docs.python.org/3/library/asyncio.html)**.
Overview
--------

* Requires Python 3.8+
* Requires Python 3.9+
* Has support for PostgreSQL via [aiopg](https://github.com/aio-libs/aiopg)
* Has support for MySQL via [aiomysql](https://github.com/aio-libs/aiomysql)
* Asynchronous analogues of peewee sync methods with prefix aio_
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ peewee-async
.. _asyncio: https://docs.python.org/3/library/asyncio.html


* Works on Python 3.8+
* Works on Python 3.9+
* Has support for PostgreSQL via `aiopg`
* Has support for MySQL via `aiomysql`
* Asynchronous analogues of peewee sync methods with prefix **aio_**
Expand Down
21 changes: 20 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"


[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
peewee = "^3.15.4"
typing-extensions = "^4.12.2"

Expand All @@ -31,3 +31,22 @@ docs = ["aiopg", "aiomysql", "cryptography", "sphinx", "sphinx-rtd-theme"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.mypy]
python_version = "3.9"
ignore_missing_imports = true
no_implicit_optional = true
strict_equality = true
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
warn_return_any = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
exclude = "(venv|load-testing|examples|docs)"

[tool.pytest.ini_options]
asyncio_mode = "auto"
18 changes: 0 additions & 18 deletions setup.cfg

This file was deleted.

0 comments on commit 0b05a50

Please sign in to comment.