lsapy 0.1.0.dev2__tar.gz → 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. lsapy-0.1.1/CHANGELOG.rst +93 -0
  2. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/CODE_OF_CONDUCT.md +131 -132
  3. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/CONTRIBUTING.rst +181 -157
  4. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/LICENSE +19 -19
  5. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/PKG-INFO +46 -13
  6. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/README.rst +135 -107
  7. lsapy-0.1.1/ci/requirements_ci.in +3 -0
  8. lsapy-0.1.1/ci/requirements_ci.txt +357 -0
  9. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/Makefile +20 -20
  10. lsapy-0.1.1/docs/_static/style.css +7 -0
  11. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/api/index.rst +34 -39
  12. lsapy-0.1.1/docs/changelog.rst +1 -0
  13. lsapy-0.1.1/docs/community/code_of_conduct.rst +1 -0
  14. lsapy-0.1.1/docs/community/contributing.rst +1 -0
  15. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/community/index.rst +19 -19
  16. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/conf.py +136 -130
  17. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/getting_started/index.rst +23 -29
  18. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/index.rst +33 -33
  19. lsapy-0.1.1/docs/logos/lsapy/LSAPy_Icon.png +0 -0
  20. lsapy-0.1.1/docs/logos/lsapy/LSAPy_Icon.svg +244 -0
  21. lsapy-0.1.1/docs/logos/lsapy/LSAPy_Logo_Dark.png +0 -0
  22. lsapy-0.1.1/docs/logos/lsapy/LSAPy_Logo_FullColour.png +0 -0
  23. lsapy-0.1.1/docs/logos/lsapy/LSAPy_Logo_FullColour.svg +248 -0
  24. lsapy-0.1.1/docs/logos/lsapy/LSAPy_Logo_FullDark.png +0 -0
  25. lsapy-0.1.1/docs/logos/lsapy/LSAPy_Logo_FullLight.png +0 -0
  26. lsapy-0.1.1/docs/logos/lsapy/LSAPy_Logo_Light.png +0 -0
  27. lsapy-0.1.1/docs/logos/lsapy/branding.md +19 -0
  28. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/make.bat +35 -35
  29. lsapy-0.1.1/docs/notebooks/criteria.ipynb +154 -0
  30. lsapy-0.1.1/docs/notebooks/functions.ipynb +298 -0
  31. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/notebooks/index.rst +16 -16
  32. lsapy-0.1.1/docs/notebooks/lsa.ipynb +1969 -0
  33. lsapy-0.1.1/docs/readme.rst +1 -0
  34. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/references.bib +35 -35
  35. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/references.rst +5 -5
  36. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/environment.yml +33 -30
  37. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/pyproject.toml +173 -151
  38. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/src/lsapy/__init__.py +9 -9
  39. lsapy-0.1.1/src/lsapy/core/__init__.py +1 -0
  40. lsapy-0.1.1/src/lsapy/core/functions.py +52 -0
  41. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/src/lsapy/criteria.py +181 -147
  42. lsapy-0.1.1/src/lsapy/functions/__init__.py +7 -0
  43. lsapy-0.1.1/src/lsapy/functions/_discrete.py +30 -0
  44. lsapy-0.1.1/src/lsapy/functions/_suitability.py +158 -0
  45. lsapy-0.1.1/src/lsapy/functions/membership.py +372 -0
  46. lsapy-0.1.1/src/lsapy/lsa.py +624 -0
  47. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/src/lsapy/statistics.py +211 -211
  48. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/src/lsapy/utils.py +56 -56
  49. lsapy-0.1.0.dev2/CHANGELOG.rst +0 -47
  50. lsapy-0.1.0.dev2/docs/changelog.rst +0 -1
  51. lsapy-0.1.0.dev2/docs/community/code_of_conduct.rst +0 -1
  52. lsapy-0.1.0.dev2/docs/community/contributing.rst +0 -1
  53. lsapy-0.1.0.dev2/docs/notebooks/criteria.ipynb +0 -142
  54. lsapy-0.1.0.dev2/docs/notebooks/functions.ipynb +0 -322
  55. lsapy-0.1.0.dev2/docs/notebooks/introduction.ipynb +0 -2421
  56. lsapy-0.1.0.dev2/docs/notebooks/lsa.ipynb +0 -1956
  57. lsapy-0.1.0.dev2/docs/readme.rst +0 -1
  58. lsapy-0.1.0.dev2/src/lsapy/functions.py +0 -635
  59. lsapy-0.1.0.dev2/src/lsapy/lsa.py +0 -638
  60. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/logos/FT2050-full_colour.png +0 -0
  61. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/logos/UCBlack.png +0 -0
  62. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/docs/logos/UCWhite.png +0 -0
  63. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/src/lsapy/data/climate_sample.nc +0 -0
  64. {lsapy-0.1.0.dev2 → lsapy-0.1.1}/src/lsapy/data/soil_sample.nc +0 -0
@@ -0,0 +1,93 @@
1
+ =========
2
+ Changelog
3
+ =========
4
+
5
+ v0.1.1 (2025-07-26)
6
+ -------------------
7
+ Contributor to this version: Baptiste Hamon (@baptistehamon).
8
+
9
+ Internal changes
10
+ ^^^^^^^^^^^^^^^^
11
+ * The documentation has been updated to reflect the changes in ``LandSuitabilityAnalysis`` workflow (issue `#41 <https://github.com/baptistehamon/lsapy/issues/41>`_, PR `#42 <https://github.com/baptistehamon/lsapy/pull/42>`_).
12
+
13
+ v0.1.0 (2025-07-25)
14
+ -------------------
15
+ Contributor to this version: Baptiste Hamon (@baptistehamon).
16
+
17
+ New features
18
+ ^^^^^^^^^^^^
19
+ * New function ``membership.fit_membership`` implemented as replacement of the deprecated ``MembershipSuitFunction.fit`` method (issue `#29 <https://github.com/baptistehamon/lsapy/issues/29>`_, PR `#30 <https://github.com/baptistehamon/lsapy/pull/30>`_).
20
+
21
+ Breaking changes
22
+ ^^^^^^^^^^^^^^^^
23
+ * ``MembershipSuitFunction`` and ``DiscreteSuitFunction`` have been removed (issue `#29 <https://github.com/baptistehamon/lsapy/issues/29>`_, PR `#30 <https://github.com/baptistehamon/lsapy/pull/30>`_).
24
+ * Changes in ``SuitabilityFunction`` (issue `#15 <https://github.com/baptistehamon/lsapy/issues/15>`_, PR `#23 <https://github.com/baptistehamon/lsapy/pull/23>`_ & PR `#30 <https://github.com/baptistehamon/lsapy/pull/30>`_):
25
+ * ``func_method`` and ``func_params`` have been renamed to ``name`` and ``params`` respectively.
26
+ * ``map`` has been deprecated because of its redundancy with the ``__call__`` method. Changes will be permanent in LSAPy v0.1.0. Call the function directly instead.
27
+ * ``LandSuitability`` has been renamed to ``LandSuitabilityAnalysis``. (issue `#15 <https://github.com/baptistehamon/lsapy/issues/15>`_, PR `#26 <https://github.com/baptistehamon/lsapy/pull/26>`_)
28
+ * ``name`` has been renamed to ``land_use``.
29
+ * ``compute_criteria_suitability``, ``compute_category_suitability``, and ``compute_suitability`` methods have been removed and the method ``run`` has been implemented as replacement (issue `#15 <https://github.com/baptistehamon/lsapy/issues/15>`_, PR `#38 <https://github.com/baptistehamon/lsapy/pull/38>`_)
30
+ * ``mask``, ``statistics`` and ``spatial_statistics`` methods have been removed.
31
+
32
+ Internal changes
33
+ ^^^^^^^^^^^^^^^^
34
+ * Templates for requesting new features, asking question and submitting PR have been added (issue `#11 <https://github.com/baptistehamon/lsapy/issues/11>`_, PR `#12 <https://github.com/baptistehamon/lsapy/pull/12>`_).
35
+ * The README has been updated to make links permanent and to add a docs badge (PR `#13 <https://github.com/baptistehamon/lsapy/pull/13>`_, PR `#15 <https://github.com/baptistehamon/lsapy/pull/15>`).
36
+ * A configuration file for Zenodo integration has been added to the repository (PR `#14 <https://github.com/baptistehamon/lsapy/pull/14>`_).
37
+ * `Pre-commit` has been setup and `ruff`, `codespell` and `numpydoc` hooks have been added (issue `#8 <https://github.com/baptistehamon/lsapy/issues/8>`_, PR `#18 <https://github.com/baptistehamon/lsapy/pull/18>`_/PR `#19 <https://github.com/baptistehamon/lsapy/pull/19>`_).
38
+ * The autoupdate schedule of `pre-commit` has been set to weekly (PR `#21 <https://github.com/baptistehamon/lsapy/pull/21>`_)
39
+ * The unused ``introduction.ipynb`` notebook has been removed (issue `#15 <https://github.com/baptistehamon/lsapy/issues/15>`_, PR `#20 <https://github.com/baptistehamon/lsapy/pull/20>`_).
40
+ * The structure around ``SuitabilityFunction`` (PR `#30 <https://github.com/baptistehamon/lsapy/pull/30>`_):
41
+ * The ``SuitabilityFunction`` has been moved to LSAPy ``function._suitability`` module.
42
+ * The membership functions have been moved to the ``function.membership`` module.
43
+ * The discrete function has been moved to the ``function._discrete`` module.
44
+ * The ``equation`` decorator has been rename to ``declare_equation`` and moved to the ``core.function`` module.
45
+ * The ``get_function_from_name`` function has been moved to the ``core.function`` module.
46
+ * Changes on ``SuitabilityCriteria`` (issue `#15 <https://github.com/baptistehamon/lsapy/issues/15>`_, PR `#31 <https://github.com/baptistehamon/lsapy/pull/31>`_):
47
+ * It now has a ``comment`` and ``is_computed`` attributes.
48
+ * ``func`` parameter is now optional, useful when the criteria is already computed.
49
+ * LSAPy logo has been added: README and documentation have been updated to use it (PR `#27 <https://github.com/baptistehamon/lsapy/pull/27>`_)
50
+
51
+ v0.1.0-dev2 (2025-05-25)
52
+ ------------------------
53
+ Contributor to this version: Baptiste Hamon (@baptistehamon).
54
+
55
+ Internal changes
56
+ ^^^^^^^^^^^^^^^^
57
+ * Major changes for documentation (issue `#2 <https://github.com/baptistehamon/lsapy/issues/2>`_, PR `#9 <https://github.com/baptistehamon/lsapy/pull/9>`_):
58
+ * All public objects are now documented using the `NumPy-style <https://numpydoc.readthedocs.io/en/latest/format.html>`_.
59
+ * *introduction.ipynb* has been slip into three different ones: *criteria.ipynb*, *function.ipynb*, and *lsa.ipynb*.
60
+ * The top-level documentation has been updated/created:
61
+ * The format of README and CHANGELOG files is now reStructuredText (RST).
62
+ * A proper README has been created.
63
+ * A CODE_OF_CONDUCT file adopting the `Contributor Covenant <https://www.contributor-covenant.org/>`_ code of conduct has been added.
64
+ * A CONTRIBUTING.md providing guidelines on how to contribute to the project has been added.
65
+ * FT20250 and UC logos used in the documentation have been added to the repository.
66
+ * The documentation building using `Sphinx <https://www.sphinx-doc.org/en/master/>`_ has been setup:
67
+ * The documentation uses the `PyData theme <https://pydata-sphinx-theme.readthedocs.io/en/stable/>`_.
68
+ * A User-facing documentation is now available and has been published on `Read the Docs <https://readthedocs.org/>`_.
69
+ * The project dependencies have been updated and made consistent across *pyproject.toml* and *environments.yml* files.
70
+
71
+ v0.1.0-dev1 (2025-05-16)
72
+ ------------------------
73
+ Contributor to this version: Baptiste Hamon (@baptistehamon).
74
+
75
+ New features
76
+ ^^^^^^^^^^^^
77
+ * Add ruff configuration to the project.
78
+
79
+ Bug fixes
80
+ ^^^^^^^^^
81
+ * Fix the fit of ``MembershipSuitFunction`` returning the wrong best fit (issue `#1 <https://github.com/baptistehamon/lsapy/issues/1>`_, PR `#5 <https://github.com/baptistehamon/lsapy/pull/5>`_)
82
+
83
+ v0.1.0-dev0 (2025-03-12)
84
+ ------------------------
85
+ Contributor to this version: Baptiste Hamon (@baptistehamon).
86
+
87
+ * First release on PyPI.
88
+
89
+ New features
90
+ ^^^^^^^^^^^^
91
+ * ``SuitabilityFunction`` to define the function used for suitability computation.
92
+ * ``SuitabilityCriteria`` to define criteria to consider in the LSA
93
+ * ``LandSuitability`` to conduct LSA.
@@ -1,132 +1,131 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in our
6
- community a harassment-free experience for everyone, regardless of age, body
7
- size, visible or invisible disability, ethnicity, sex characteristics, gender
8
- identity and expression, level of experience, education, socio-economic status,
9
- nationality, personal appearance, race, caste, color, religion, or sexual
10
- identity and orientation.
11
-
12
- We pledge to act and interact in ways that contribute to an open, welcoming,
13
- diverse, inclusive, and healthy community.
14
-
15
- ## Our Standards
16
-
17
- Examples of behavior that contributes to a positive environment for our
18
- community include:
19
-
20
- * Demonstrating empathy and kindness toward other people
21
- * Being respectful of differing opinions, viewpoints, and experiences
22
- * Giving and gracefully accepting constructive feedback
23
- * Accepting responsibility and apologizing to those affected by our mistakes,
24
- and learning from the experience
25
- * Focusing on what is best not just for us as individuals, but for the overall
26
- community
27
-
28
- Examples of unacceptable behavior include:
29
-
30
- * The use of sexualized language or imagery, and sexual attention or advances of
31
- any kind
32
- * Trolling, insulting or derogatory comments, and personal or political attacks
33
- * Public or private harassment
34
- * Publishing others' private information, such as a physical or email address,
35
- without their explicit permission
36
- * Other conduct which could reasonably be considered inappropriate in a
37
- professional setting
38
-
39
- ## Enforcement Responsibilities
40
-
41
- Community leaders are responsible for clarifying and enforcing our standards of
42
- acceptable behavior and will take appropriate and fair corrective action in
43
- response to any behavior that they deem inappropriate, threatening, offensive,
44
- or harmful.
45
-
46
- Community leaders have the right and responsibility to remove, edit, or reject
47
- comments, commits, code, wiki edits, issues, and other contributions that are
48
- not aligned to this Code of Conduct, and will communicate reasons for moderation
49
- decisions when appropriate.
50
-
51
- ## Scope
52
-
53
- This Code of Conduct applies within all community spaces, and also applies when
54
- an individual is officially representing the community in public spaces.
55
- Examples of representing our community include using an official email address,
56
- posting via an official social media account, or acting as an appointed
57
- representative at an online or offline event.
58
-
59
- ## Enforcement
60
-
61
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
- reported to the community leaders.
63
- All complaints will be reviewed and investigated promptly and fairly.
64
-
65
- All community leaders are obligated to respect the privacy and security of the
66
- reporter of any incident.
67
-
68
- ## Enforcement Guidelines
69
-
70
- Community leaders will follow these Community Impact Guidelines in determining
71
- the consequences for any action they deem in violation of this Code of Conduct:
72
-
73
- ### 1. Correction
74
-
75
- **Community Impact**: Use of inappropriate language or other behavior deemed
76
- unprofessional or unwelcome in the community.
77
-
78
- **Consequence**: A private, written warning from community leaders, providing
79
- clarity around the nature of the violation and an explanation of why the
80
- behavior was inappropriate. A public apology may be requested.
81
-
82
- ### 2. Warning
83
-
84
- **Community Impact**: A violation through a single incident or series of
85
- actions.
86
-
87
- **Consequence**: A warning with consequences for continued behavior. No
88
- interaction with the people involved, including unsolicited interaction with
89
- those enforcing the Code of Conduct, for a specified period of time. This
90
- includes avoiding interactions in community spaces as well as external channels
91
- like social media. Violating these terms may lead to a temporary or permanent
92
- ban.
93
-
94
- ### 3. Temporary Ban
95
-
96
- **Community Impact**: A serious violation of community standards, including
97
- sustained inappropriate behavior.
98
-
99
- **Consequence**: A temporary ban from any sort of interaction or public
100
- communication with the community for a specified period of time. No public or
101
- private interaction with the people involved, including unsolicited interaction
102
- with those enforcing the Code of Conduct, is allowed during this period.
103
- Violating these terms may lead to a permanent ban.
104
-
105
- ### 4. Permanent Ban
106
-
107
- **Community Impact**: Demonstrating a pattern of violation of community
108
- standards, including sustained inappropriate behavior, harassment of an
109
- individual, or aggression toward or disparagement of classes of individuals.
110
-
111
- **Consequence**: A permanent ban from any sort of public interaction within the
112
- community.
113
-
114
- ## Attribution
115
-
116
- This Code of Conduct is adapted from the [Contributor Covenant][homepage],
117
- version 2.1, available at
118
- [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
119
-
120
- Community Impact Guidelines were inspired by
121
- [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
122
-
123
- For answers to common questions about this code of conduct, see the FAQ at
124
- [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
125
- [https://www.contributor-covenant.org/translations][translations].
126
-
127
- [homepage]: https://www.contributor-covenant.org
128
- [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
129
- [Mozilla CoC]: https://github.com/mozilla/diversity
130
- [FAQ]: https://www.contributor-covenant.org/faq
131
- [translations]: https://www.contributor-covenant.org/translations
132
-
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders.
63
+ All complaints will be reviewed and investigated promptly and fairly.
64
+
65
+ All community leaders are obligated to respect the privacy and security of the
66
+ reporter of any incident.
67
+
68
+ ## Enforcement Guidelines
69
+
70
+ Community leaders will follow these Community Impact Guidelines in determining
71
+ the consequences for any action they deem in violation of this Code of Conduct:
72
+
73
+ ### 1. Correction
74
+
75
+ **Community Impact**: Use of inappropriate language or other behavior deemed
76
+ unprofessional or unwelcome in the community.
77
+
78
+ **Consequence**: A private, written warning from community leaders, providing
79
+ clarity around the nature of the violation and an explanation of why the
80
+ behavior was inappropriate. A public apology may be requested.
81
+
82
+ ### 2. Warning
83
+
84
+ **Community Impact**: A violation through a single incident or series of
85
+ actions.
86
+
87
+ **Consequence**: A warning with consequences for continued behavior. No
88
+ interaction with the people involved, including unsolicited interaction with
89
+ those enforcing the Code of Conduct, for a specified period of time. This
90
+ includes avoiding interactions in community spaces as well as external channels
91
+ like social media. Violating these terms may lead to a temporary or permanent
92
+ ban.
93
+
94
+ ### 3. Temporary Ban
95
+
96
+ **Community Impact**: A serious violation of community standards, including
97
+ sustained inappropriate behavior.
98
+
99
+ **Consequence**: A temporary ban from any sort of interaction or public
100
+ communication with the community for a specified period of time. No public or
101
+ private interaction with the people involved, including unsolicited interaction
102
+ with those enforcing the Code of Conduct, is allowed during this period.
103
+ Violating these terms may lead to a permanent ban.
104
+
105
+ ### 4. Permanent Ban
106
+
107
+ **Community Impact**: Demonstrating a pattern of violation of community
108
+ standards, including sustained inappropriate behavior, harassment of an
109
+ individual, or aggression toward or disparagement of classes of individuals.
110
+
111
+ **Consequence**: A permanent ban from any sort of public interaction within the
112
+ community.
113
+
114
+ ## Attribution
115
+
116
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
117
+ version 2.1, available at
118
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
119
+
120
+ Community Impact Guidelines were inspired by
121
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
122
+
123
+ For answers to common questions about this code of conduct, see the FAQ at
124
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
125
+ [https://www.contributor-covenant.org/translations][translations].
126
+
127
+ [homepage]: https://www.contributor-covenant.org
128
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
129
+ [Mozilla CoC]: https://github.com/mozilla/diversity
130
+ [FAQ]: https://www.contributor-covenant.org/faq
131
+ [translations]: https://www.contributor-covenant.org/translations