Skip to content

Commit 5330a94

Browse files
committed
docs: updates to the readme
1 parent 1bf107c commit 5330a94

File tree

2 files changed

+22
-16
lines changed

2 files changed

+22
-16
lines changed

README.rst

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
==================================
2+
Django Template Coverage.py Plugin
3+
==================================
4+
5+
A `coverage.py`_ plugin to measure test coverage of Django templates.
6+
17
.. start-badges
28
3-
|status| |kit| |license| |versions| |djversions|
9+
| |status| |kit| |license|
10+
| |versions| |djversions|
411
512
.. |status| image:: https://img.shields.io/pypi/status/django_coverage_plugin.svg
613
:target: https://pypi.python.org/pypi/django_coverage_plugin
@@ -14,23 +21,21 @@
1421
.. |versions| image:: https://img.shields.io/pypi/pyversions/django_coverage_plugin.svg
1522
:target: https://pypi.python.org/pypi/django_coverage_plugin
1623
:alt: Supported Python Versions
17-
.. |djversions| image:: https://img.shields.io/badge/Django-1.8%20%7C%201.11%20%7C%202.0%20%7C%202.1%20%7C%202.2%20%7C%203.0-44b78b.svg
24+
.. |djversions| image:: https://img.shields.io/badge/Django-1.8%20%7C%201.11%20%7C%202.2%20%7C%203.2%20%7C%204.1-44b78b.svg
1825
:target: https://pypi.python.org/pypi/django_coverage_plugin
1926
:alt: Supported Django Versions
2027

21-
.. end-badges
28+
------------------
2229

23-
==================================
24-
Django Template Coverage.py Plugin
25-
==================================
30+
.. end-badges
2631
27-
A `coverage.py`_ plugin to measure test coverage of Django templates.
32+
Supported on:
2833

29-
Supported Python versions: 2.7, and 3.6 through 3.10.
34+
- Python: 2.7, and 3.6 through 3.11.
3035

31-
Supported Django versions: 1.8, 1.11, 2.x, 3.x and 4.x.
36+
- Django: 1.8, 1.11, 2.x, 3.x and 4.x.
3237

33-
Supported coverage.py versions: 4.x or higher.
38+
- Coverage.py: 4.x or higher.
3439

3540
The plugin is pip installable::
3641

setup.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,19 @@ def read(*names, **kwargs):
4949
Framework :: Django :: 1.11
5050
Framework :: Django :: 2.2
5151
Framework :: Django :: 3.2
52-
Framework :: Django :: 4.0
52+
Framework :: Django :: 4.1
5353
"""
5454

5555
setup(
5656
name='django_coverage_plugin',
5757
version='2.0.3',
5858
description='Django template coverage.py plugin',
5959
long_description=(
60-
re.compile(
61-
'^.. start-badges.*^.. end-badges',
62-
re.M | re.S,
63-
).sub('', read('README.rst'))
60+
re.sub(
61+
'(?ms)^.. start-badges.*^.. end-badges',
62+
'',
63+
read('README.rst'),
64+
)
6465
),
6566
long_description_content_type='text/x-rst',
6667
author='Ned Batchelder',
@@ -71,6 +72,6 @@ def read(*names, **kwargs):
7172
'coverage',
7273
'six >= 1.4.0',
7374
],
74-
license='Apache 2.0',
75+
license='Apache-2.0',
7576
classifiers=classifiers.splitlines(),
7677
)

0 commit comments

Comments
 (0)