Facturation et paiement
Go to file
Lauréline Guérin fc8872e559
gitea/lingo/pipeline/head This commit looks good Details
misc: remove import/export commands, simplify code (#78125)
2023-06-02 15:44:00 +02:00
debian debian: apply new pre-commit-debian (#77727) 2023-05-27 21:40:26 +02:00
lingo misc: remove import/export commands, simplify code (#78125) 2023-06-02 15:44:00 +02:00
tests misc: remove import/export commands, simplify code (#78125) 2023-06-02 15:44:00 +02:00
.git-blame-ignore-revs misc: add django-upgrade files/notes (#69798) 2022-10-03 14:28:54 +02:00
.gitignore pricing: add js & css for ordering & formset (#65440) 2022-05-19 14:53:23 +02:00
.pre-commit-config.yaml ci: upgrade pre-commit-debian (#77727) 2023-05-27 21:40:10 +02:00
COPYING add COPYING GNU Affero GPL license file 2022-05-02 16:07:37 +02:00
Jenkinsfile Prepare Jenkinsfile for Gitea migration (#74572) 2023-02-20 15:09:54 +01:00
MANIFEST.in misc: include invoicing templates in MANIFEST.in (#72231) 2022-12-09 18:33:02 +01:00
README misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 14:31:41 +02:00
getlasso3.sh start a Publik Django application (#64765) 2022-05-11 14:44:36 +02:00
manage.py start a Publik Django application (#64765) 2022-05-11 14:44:36 +02:00
pylint.rc pylint: remove obsolete options 2022-06-02 09:07:53 +02:00
pylint.sh start a Publik Django application (#64765) 2022-05-11 14:44:36 +02:00
setup.py invoicing: pdf invoice generation (#75729) 2023-04-21 14:09:16 +02:00
tox.ini ci: limit tests to django 3.2 (#75308) 2023-03-10 10:25:07 +01:00

README

Lingo
=====

Lingo is a billing and payment module for the Publik system.


Code Style
----------

black is used to format the code, using thoses parameters:

    black --target-version py37 --skip-string-normalization --line-length 110

isort is used to format the imports, using those parameters:

    isort --profile black --line-length 110

pyupgrade is used to automatically upgrade syntax, using those parameters:

    pyupgrade --keep-percent-format --py37-plus

djhtml is used to automatically indent html files, using those parameters:

    djhtml --tabwidth 2

django-upgrade is used to automatically upgrade Django syntax, using those parameters:

    django-upgrade --target-version 3.2

There is .pre-commit-config.yaml to use pre-commit to automatically run these tools
before commits. (execute `pre-commit install` to install the git hook.)


License
-------

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program.  If not, see <http://www.gnu.org/licenses/>.