Openfisca-extension-template

Latest version: v2.0.6

Safety actively analyzes 688619 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 6

1.3.4

- Minor change.
- Details:
- Upgrade `autopep8`, `flake8` & `pycodestyle`

1.3.3

- Technical change
- Details:
- Upgrade `autopep8`

1.3.2

- Technical change
- Details:
- Update `autopep8`

1.3.1

- Technical change
- Details:
- Update `flake8`, `autopep8` and `pycodestyle`

1.3.0

- Technical change
- Details:
- Remove Python 2 build and deploy on continuous integration
- Update test command
- Update `country-template` dependency (uses Core v27)

1.2.0

- Technical change
- Details:
- Adapt to OpenFisca Core v25
- Change the syntax of OpenFisca YAML tests

For instance, a test that was using the `input_variables` and the
`output_variables` keywords like:

yaml
- name: Basic income
period: 2016-12
input_variables:
salary: 1200
output_variables:
basic_income: 600


becomes:

yaml
- name: Basic income
period: 2016-12
input:
salary: 1200
output:
basic_income: 600


A test that was fully specifying its entities like:

yaml
- name: "A couple with 2 children gets 200€"
period: 2016-01
households:
parents: ["parent1", "parent2"]
children: ["child1", "child2"]
persons:
- id: "parent1"
age: 35
- id: "parent2"
age: 35
- id: "child1"
age: 8
- id: "child2"
age: 4
output_variables:
local_town_child_allowance: 200


becomes:

yaml
- name: "A couple with 2 children gets 200€"
period: 2016-01
input:
households:
household:
parents: ["parent1", "parent2"]
children: ["child1", "child2"]
persons:
parent1:
age: 35
parent2:
age: 35
child1:
age: 8
child2:
age: 4
output:
local_town_child_allowance: 200

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.