Skip to content
Open
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
25 changes: 13 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ on:
branches:
- master
pull_request:
schedule:
- cron: '30 3 * * 2'
workflow_dispatch:

name: CI

Expand All @@ -15,19 +14,21 @@ jobs:
strategy:
matrix:
python:
- '3.5'
- '3.6'
- '3.7'
- 'pypy3'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
- 'pypy3.10'
django:
- '1.11'
- '2.2'
- '3.0'
- '4.2'
- '5.0'
- '5.1'
name: Python ${{ matrix.python }} / Django ${{ matrix.django }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup python ${{ matrix.python }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Setup django ${{ matrix.django }}
Expand All @@ -39,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
name: Check code formatting
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Black Code Formatter
uses: lgeiger/black-action@master
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
/*.egg-info/
/.tox/
/.coverage
/.env/
19 changes: 10 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
django-mathfilters
##################

.. image:: https://github.com/dbrgn/django-mathfilters/workflows/CI/badge.svg
.. image:: https://github.com/dbrgn/django-mathfilters/actions/workflows/ci.yml/badge.svg
:alt: Build status
:target: https://github.com/dbrgn/django-mathfilters/actions?query=branch%3Amaster
:target: https://github.com/dbrgn/django-mathfilters/actions/workflows/ci.yml

.. image:: https://pypip.in/d/django-mathfilters/badge.png
:alt: PyPI download stats
:target: https://crate.io/packages/django-mathfilters
.. image:: https://badge.fury.io/py/django-mathfilters.svg
:alt: PyPI badge
:target: https://pypi.org/project/django-mathfilters/


django-mathfilters is a Python 3 module that provides different simple math
Expand Down Expand Up @@ -80,10 +80,11 @@ provides the following filters:
Version Support
===============

This module officially supports Python 3.5+ as well as PyPy3. Support for Python
3.3 and 3.4 is provided on best-effort basis, but there are no CI tests for it.
This module officially supports Python 3.9+ as well as PyPy3.

Supported Django versions are 1.11+, 2.x and 3.x.
Supported Django versions are 4.2, 5.0 and 5.1.

Support for older versions of both is possible however there are no CI tests for them.


Development
Expand All @@ -96,4 +97,4 @@ auto-formatting. Adherence to the rules is enforced in CI.
License
=======

`MIT License <http://www.tldrlegal.com/license/mit-license>`_, see LICENSE file.
`MIT License <https://www.tldrlegal.com/license/mit-license>`_, see LICENSE file.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[tool.black]
target-version = ['py33']
target-version = ['py39']
skip-string-normalization = true
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP',
Expand Down