Skip to content

Commit 142b009

Browse files
[IMP] pdf_helper: pre-commit auto fixes
1 parent 5e5d86a commit 142b009

File tree

7 files changed

+30
-23
lines changed

7 files changed

+30
-23
lines changed

pdf_helper/README.rst

+20-16
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ PDF Helper
1717
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1818
:alt: License: LGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github
20-
:target: https://github.com/OCA/edi/tree/16.0/pdf_helper
20+
:target: https://github.com/OCA/edi/tree/17.0/pdf_helper
2121
:alt: OCA/edi
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-pdf_helper
23+
:target: https://translation.odoo-community.org/projects/edi-17-0/edi-17-0-pdf_helper
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=17.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -38,42 +38,46 @@ Technical module to share PDF utils.
3838
Usage
3939
=====
4040

41-
Inside Odoo env::
41+
Inside Odoo env:
4242

43-
res = env["pdf.helper"].pdf_get_xml_files(pdf_filecontent)
43+
::
4444

45-
Outside Odoo env::
45+
res = env["pdf.helper"].pdf_get_xml_files(pdf_filecontent)
4646

47-
from odoo.addons.pdf_helper.utils import PDFParser
48-
[...]
49-
res = PDFParser(pdf_filecontent).get_xml_files()
47+
Outside Odoo env:
48+
49+
::
50+
51+
from odoo.addons.pdf_helper.utils import PDFParser
52+
[...]
53+
res = PDFParser(pdf_filecontent).get_xml_files()
5054

5155
Bug Tracker
5256
===========
5357

5458
Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi/issues>`_.
5559
In case of trouble, please check there if your issue has already been reported.
5660
If you spotted it first, help us to smash it by providing a detailed and welcomed
57-
`feedback <https://github.com/OCA/edi/issues/new?body=module:%20pdf_helper%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
61+
`feedback <https://github.com/OCA/edi/issues/new?body=module:%20pdf_helper%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5862

5963
Do not contact contributors directly about support or help with technical issues.
6064

6165
Credits
6266
=======
6367

6468
Authors
65-
~~~~~~~
69+
-------
6670

6771
* Camptocamp
6872

6973
Contributors
70-
~~~~~~~~~~~~
74+
------------
7175

72-
* Simone Orsi <simone.orsi@camptocamp.com>
73-
* Alexis de Lattre <alexis.delattre@akretion.com>
76+
- Simone Orsi <simone.orsi@camptocamp.com>
77+
- Alexis de Lattre <alexis.delattre@akretion.com>
7478

7579
Maintainers
76-
~~~~~~~~~~~
80+
-----------
7781

7882
This module is maintained by the OCA.
7983

@@ -96,6 +100,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
96100

97101
|maintainer-simahawk| |maintainer-alexis-via|
98102

99-
This module is part of the `OCA/edi <https://github.com/OCA/edi/tree/16.0/pdf_helper>`_ project on GitHub.
103+
This module is part of the `OCA/edi <https://github.com/OCA/edi/tree/17.0/pdf_helper>`_ project on GitHub.
100104

101105
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

pdf_helper/pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"

pdf_helper/readme/CONTRIBUTORS.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Simone Orsi \<<simone.orsi@camptocamp.com>\>
2+
- Alexis de Lattre \<<alexis.delattre@akretion.com>\>

pdf_helper/readme/CONTRIBUTORS.rst

-2
This file was deleted.
File renamed without changes.

pdf_helper/readme/USAGE.rst pdf_helper/readme/USAGE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Inside Odoo env::
1+
Inside Odoo env:
22

33
res = env["pdf.helper"].pdf_get_xml_files(pdf_filecontent)
44

5-
Outside Odoo env::
5+
Outside Odoo env:
66

77
from odoo.addons.pdf_helper.utils import PDFParser
88
[...]

pdf_helper/static/description/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ <h1 class="title">PDF Helper</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:d2b2944492ea6b07b30e0f22c55bc8b95ab88c35292fbb556969fb2809289dca
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/edi/tree/16.0/pdf_helper"><img alt="OCA/edi" src="https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-pdf_helper"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/edi&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/edi/tree/17.0/pdf_helper"><img alt="OCA/edi" src="https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/edi-17-0/edi-17-0-pdf_helper"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/edi&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>Technical module to share PDF utils.</p>
374374
<p><strong>Table of contents</strong></p>
375375
<div class="contents local topic" id="contents">
@@ -402,7 +402,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
402402
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/edi/issues">GitHub Issues</a>.
403403
In case of trouble, please check there if your issue has already been reported.
404404
If you spotted it first, help us to smash it by providing a detailed and welcomed
405-
<a class="reference external" href="https://github.com/OCA/edi/issues/new?body=module:%20pdf_helper%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
405+
<a class="reference external" href="https://github.com/OCA/edi/issues/new?body=module:%20pdf_helper%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
406406
<p>Do not contact contributors directly about support or help with technical issues.</p>
407407
</div>
408408
<div class="section" id="credits">
@@ -429,7 +429,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
429429
promote its widespread use.</p>
430430
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
431431
<p><a class="reference external image-reference" href="https://github.com/simahawk"><img alt="simahawk" src="https://github.com/simahawk.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/alexis-via"><img alt="alexis-via" src="https://github.com/alexis-via.png?size=40px" /></a></p>
432-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/edi/tree/16.0/pdf_helper">OCA/edi</a> project on GitHub.</p>
432+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/edi/tree/17.0/pdf_helper">OCA/edi</a> project on GitHub.</p>
433433
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
434434
</div>
435435
</div>

0 commit comments

Comments
 (0)