diff --git a/.travis.yml b/.travis.yml index a825378..999016e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: python python: "3.5" -install: pip install -r besoins.txt -script: python verifie.py +install: pip install -r vérifications/besoins.txt +script: python vérifications/vérifie.py branches: only: - gh-pages diff --git a/LISEZMOI.md b/LISEZMOI.md new file mode 100644 index 0000000..8278e3e --- /dev/null +++ b/LISEZMOI.md @@ -0,0 +1,11 @@ +[![Clavardage sur Gitter](https://img.shields.io/badge/clavarder-avec%20nous-brightgreen.svg)](https://gitter.im/soulaklabs/bitoduc.fr) [![Dispositif d'intégration continue](https://img.shields.io/travis/soulaklabs/bitoduc.fr.svg)](https://travis-ci.org/soulaklabs/bitoduc.fr) + + +bitoduc.fr +========== + +Un site pour la promotion de la francophonie dans le monde informatique. + +A website to promote french words for computer concepts. + +http://bitoduc.fr/ diff --git a/README.md b/README.md deleted file mode 100644 index 8278e3e..0000000 --- a/README.md +++ /dev/null @@ -1,11 +0,0 @@ -[![Clavardage sur Gitter](https://img.shields.io/badge/clavarder-avec%20nous-brightgreen.svg)](https://gitter.im/soulaklabs/bitoduc.fr) [![Dispositif d'intégration continue](https://img.shields.io/travis/soulaklabs/bitoduc.fr.svg)](https://travis-ci.org/soulaklabs/bitoduc.fr) - - -bitoduc.fr -========== - -Un site pour la promotion de la francophonie dans le monde informatique. - -A website to promote french words for computer concepts. - -http://bitoduc.fr/ diff --git a/README.md b/README.md new file mode 120000 index 0000000..33f6e7b --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +LISEZMOI.md \ No newline at end of file diff --git a/besoins.txt b/vérifications/besoins.txt similarity index 100% rename from besoins.txt rename to vérifications/besoins.txt diff --git a/schema.json b/vérifications/schéma.json similarity index 100% rename from schema.json rename to vérifications/schéma.json diff --git a/verifie.py b/vérifications/vérifie.py similarity index 88% rename from verifie.py rename to vérifications/vérifie.py index e8f7621..a685a44 100644 --- a/verifie.py +++ b/vérifications/vérifie.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- import json from jsonschema import validate as valide @@ -13,7 +14,7 @@ def verifie_ordre(mots): def principal(): with open('traductions.json') as f: d = json.load(f) - with open('schema.json') as f: + with open('vérifications/schéma.json') as f: schema = json.load(f) valide(d, schema) verifie_ordre(d['faux mots'])