Facturation et paiement
Go to file
Valentin Deniaud 65601dedd0 misc: add django-upgrade files/notes (#69798) 2022-10-03 14:28:54 +02:00
debian debian: remove obsolete standard error output config from systemd unit (#65101) 2022-08-02 10:02:27 +02:00
lingo misc: apply django-upgrade (#69798) 2022-10-03 14:28:28 +02:00
tests api: add err key in json reponses (#69664) 2022-09-28 15:03:27 +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 misc: add django-upgrade files/notes (#69798) 2022-10-03 14:28:54 +02:00
COPYING add COPYING GNU Affero GPL license file 2022-05-02 16:07:37 +02:00
Jenkinsfile start a Publik Django application (#64765) 2022-05-11 14:44:36 +02:00
MANIFEST.in misc: add missing templates & statics in MANIFEST file (#66848) 2022-07-01 09:35:06 +02:00
README misc: add django-upgrade files/notes (#69798) 2022-10-03 14:28:54 +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 setup: include django 3.2 (#69341) 2022-09-20 16:32:12 +02:00
tox.ini Enabled django 3.2 testing in tox file (#67945) 2022-08-08 15:30:36 +02: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 2.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/>.