Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,23 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12']
django-version:
- 'Django~=4.2.0'
- 'Django~=5.0.0'
include:
- python-version: '3.9'
django-version: 'Django~=4.1.0'
- python-version: '3.10'
django-version: 'Django~=4.2.0'
- python-version: '3.11'
django-version: 'Django~=4.2.0'
- python-version: '3.12'
django-version: 'Django~=4.1.0'
django-version: 'Django~=4.2.0'
- python-version: '3.10'
django-version: 'Django~=5.2.0'
- python-version: '3.11'
django-version: 'Django~=5.2.0'
- python-version: '3.12'
django-version: 'Django~=5.2.0'
- python-version: '3.13'
django-version: 'Django~=5.2.0'
- python-version: '3.14'
django-version: 'Django~=5.2.0'

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"
python: "3.10"
jobs:
pre_create_environment:
- asdf plugin add poetry
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ We use `mypy` to run type checks on our code.
To use it:

```bash
mypy django_split_settings
mypy split_settings
```

This step is mandatory during the CI.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ While this package will most likely work with the most versions of `django`, we
- 4.2
- 5.0
- 5.1
- 5.2

This package has no dependencies itself.

Expand Down
14 changes: 9 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
import sys

try:
import tomllib
import tomllib # noqa: WPS433
except ImportError:
import tomli as tomllib
import tomli as tomllib # noqa: WPS433, WPS440

sys.path.insert(0, os.path.abspath('..'))

Expand All @@ -30,14 +30,14 @@ def _get_project_meta():

pkg_meta = _get_project_meta()
project = str(pkg_meta['name'])
copyright = '2013, 2General Oy' # noqa: WPS125
author = 'Nikita Sobolev'

# The short X.Y version
version = str(pkg_meta['version'])
# The full version, including alpha/beta/rc tags
release = version

copyright = '2013, 2General Oy' # noqa: WPS125
author = 'Nikita Sobolev'


# -- General configuration ---------------------------------------------------

Expand Down Expand Up @@ -68,6 +68,10 @@ def _get_project_meta():
autodoc_member_order = 'bysource'
autodoc_default_flags = {}

autodoc_default_options = {
'show-inheritance': True,
}

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
2,102 changes: 563 additions & 1,539 deletions poetry.lock

Large diffs are not rendered by default.

15 changes: 6 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ classifiers = [
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
Expand All @@ -41,22 +43,17 @@ classifiers = [
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]

[project.urls]
[tool.poetry.urls]
"Funding" = "https://github.com/sponsors/wemake-services"

[tool.poetry.dependencies]
python = "^3.9"
python = ">=3.10,<4.0"

[tool.poetry.group.dev.dependencies]
django = [
{ version = "^4.2", python = "<3.10" },
{ version = "^5.0", python = ">=3.10" },
]
django = ">=4.2,<5.3"

mypy = "^1.10"
wemake-python-styleguide = "^0.19"
flake8-pytest-style = "^2.0"
nitpick = "^0.35"
wemake-python-styleguide = "^1.0"

doc8 = "^1.1"

Expand Down
Loading