Commit Graph

24 Commits

Author SHA1 Message Date
Louis Gesbert
e0c2c58687 Makefile: remove references to the examples 2024-01-16 11:54:28 +01:00
Denis Merigoux
4cff84291a
Mise à jour arrêté du 22 septembre 2023 2023-11-22 11:11:43 +01:00
zapashcanon
d1f1686594
add missing french_law/python/src/runtime.py to .gitignore 2023-09-09 21:11:38 +02:00
Louis Gesbert
71e3ca21c0 Remove generated files from git
and add proper pointers to the online artifacts
2023-07-10 15:48:11 +02:00
Louis Gesbert
cf2e80ba51 Refactor Python dependency handling
* Use the newer "pyproject.toml" for syntax highlighters
* Use venv for everything (previously, the pygment lexers were installed
  globally, but more recent Python releases frown upon that. This will probably
  be more stable in the long run...)
* Use one venv at the root of the project (`_python_venv/`) for both
  pygments and the runtime
* Initialise this venv automatically from the Makefile (it should no longer be
  necessary to run scattered `set_up.sh` scripts with mysterious interactions)

On the downsides, though:
* Only tested with Python 3.11 at the moment
* Need to remember to activate the venv (`. _python_venv/bin/activate`) from the
  root for e.g. HTML literate output to work. A more manageable solution could
  be for Catala to provide the lexers on-the-fly when calling `pygmentize`.
2023-03-02 16:24:53 +01:00
adelaett
f885d16016 .gitignore envrc 2023-02-20 15:59:04 +01:00
Hugo Gimbert
9a17205a2a merged with master 2022-08-30 10:00:14 +02:00
Hugo Gimbert
799b16975d Merge remote-tracking branch 'origin/master' into cgr_example 2022-08-30 09:37:50 +02:00
Emile Rolley
15be4b7279 refactor(law_source): remove the unused Enfant submodule from the allocation_familiales.mli 2022-07-22 16:52:56 +02:00
Louis Gesbert
30297b27b8 Add dune rule to build tests
This allows a new magic command: `dune test -w`
2022-05-25 18:33:20 +02:00
Emile Rolley
5417a64556 fix(clerk): add the Catala command to the build output name 2022-02-11 16:24:32 +01:00
Denis Merigoux
252af3e58c
Better ninja file 2022-02-04 12:12:09 +01:00
Hugo Gimbert
d76dbb3bae bingo test 2021-11-19 12:05:49 +01:00
Alain
bba896c949 style: Formatting 2021-10-29 15:17:26 +02:00
Alain
cfcc454022 feat: initial nix support 2021-10-29 14:45:05 +02:00
Edwin Török
3eddaae882 examples: add a %.spellok helper to check spelling
Usage:
`make -C examples/tutorial_en tutorial_en.spellok`

This will output a list of incorrect words (which should be empty).
Catala-specific words (or uncommon words missing from the default aspell dictionary) can be added to examples/whitelist.<lang>

Signed-off-by: Edwin Török <edwin@etorok.net>
2021-10-10 15:56:07 +01:00
Denis Merigoux
fbf60b89bf
Fix lenght type mismatch 2021-06-24 21:32:09 +02:00
Denis Merigoux
bbd50747d9
Big renaming and dir reorg 2021-06-21 11:39:06 +02:00
Louis Gesbert
4a5e8192b6 Opam file: fix license format 2021-01-04 13:50:33 +01:00
Denis Merigoux
5a4458041f Properly generate HTML assets 2020-05-05 17:05:39 +02:00
Denis Merigoux
a982ec5f51 Added retrieval of whole decrets text from LegiFrance 2020-04-30 12:15:26 +02:00
Denis Merigoux
8158d8cd35 Small API change 2020-04-22 14:39:32 +02:00
Denis Merigoux
0ccae5d73b Removed merlin files 2019-09-19 16:37:16 +02:00
Denis Merigoux
095f0a8de1 Code reorg 2019-09-04 10:32:33 +02:00