Skip to content

Commit ef4411d

Browse files
committed
Display architecture diagram in README - closes #1244
1 parent 2a5575f commit ef4411d

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ repos:
1616
- id: trailing-whitespace
1717
- id: check-toml
1818
- id: end-of-file-fixer
19+
exclude_types: [svg]
1920
- id: mixed-line-ending
2021
- id: check-yaml
2122
- id: pretty-format-json

README.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. image:: https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/master/logo.png
1+
.. image:: https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/main/logo.png
22
:width: 100px
33
:height: 100px
44

@@ -32,7 +32,7 @@ How to use
3232

3333
.. warning::
3434

35-
Tested on PostgreSQL versions >= 10. See tests for more details.
35+
Tested on PostgreSQL versions >= 14. See tests for more details.
3636

3737
Install with:
3838

@@ -44,6 +44,14 @@ You will also need to install ``psycopg``. See `its installation instructions <h
4444
Note that this plugin requires ``psycopg`` version 3. It is possible to simultaneously install version 3
4545
and version 2 for libraries that require the latter (see `those instructions <https://www.psycopg.org/docs/install.html>`_).
4646

47+
How does it work
48+
----------------
49+
50+
.. image:: https://raw.githubusercontent.com/dbfixtures/pytest-postgresql/main/docs/images/architecture.svg
51+
:alt: Project Architecture Diagram
52+
:align: center
53+
54+
4755
Plugin contains three fixtures:
4856

4957
* **postgresql** - it's a client fixture that has functional scope.

newsfragments/1244.docs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Add plugins' architecture diagram.
1+
Add plugins' architecture diagram and display it in project's README.

0 commit comments

Comments
 (0)