Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge updated code from seapagan/lice2 #59

Open
wants to merge 180 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
c824167
fix crashes in python > 3.8
seapagan Aug 18, 2024
f8d601f
convert to a poetry project
seapagan Aug 18, 2024
2fb0733
convert README to markdown
seapagan Aug 18, 2024
f9de86d
fix tests
seapagan Aug 18, 2024
96acc99
update LICENSE
seapagan Aug 18, 2024
fdc0bf0
rename source folder
seapagan Aug 18, 2024
5f7ba82
update github workflow
seapagan Aug 18, 2024
eb30040
fix README
seapagan Aug 18, 2024
faa5dcb
add pypi classifiers
seapagan Aug 18, 2024
8a2b2d1
fix github action to run on correct branch
seapagan Aug 18, 2024
2388698
add some pytest plugins
seapagan Aug 18, 2024
3476481
enable strict ruff and mypy linting
seapagan Aug 18, 2024
e1bbd1a
fix linting in the test file
seapagan Aug 18, 2024
f3c1b49
WIP - continue on refactoring and fix linting issues
seapagan Aug 18, 2024
89386cc
split arg parsing out to a separate function
seapagan Aug 18, 2024
9b6c9c6
more refactoring and fix many linting issues
seapagan Aug 18, 2024
78a4d70
add a linting workflow using 'Ruff'
seapagan Aug 18, 2024
67ab8f1
add dependabot and dependency review GitHub Actions
seapagan Aug 18, 2024
459786c
update README
seapagan Aug 18, 2024
3977150
fix remaining mypy issues
seapagan Aug 18, 2024
4f193c8
add pre-commit hooks and poe for running tasks
seapagan Aug 18, 2024
f2ba455
fix some line-ending issues
seapagan Aug 18, 2024
0897cef
add a mypy GitHub action
seapagan Aug 18, 2024
b312dc3
tell mypy to only check as python 3.9
seapagan Aug 18, 2024
7777e3a
bump minimum python version to 3.9
seapagan Aug 18, 2024
e0e79dd
disable mypy action for now
seapagan Aug 18, 2024
793752c
update README
seapagan Aug 18, 2024
a4ce5d1
Merge pull request #1 from seapagan/fix-linting
seapagan Aug 18, 2024
df6fba6
Bump pre-commit from 3.5.0 to 3.8.0 (#2)
dependabot[bot] Aug 18, 2024
702da42
rename package forlder yet again
seapagan Aug 19, 2024
af19bf7
move templates into sub-folder
seapagan Aug 19, 2024
521516b
fix template path in a few places
seapagan Aug 19, 2024
18ba152
remove markdown from pre-commit checks
seapagan Aug 19, 2024
cfa7ecc
update markdown linting settings
seapagan Aug 19, 2024
d94c7fe
Merge pull request #3 from seapagan/move-templates
seapagan Aug 19, 2024
e94db1c
Add prettier output for the listing of licenses and languages
seapagan Aug 19, 2024
126ba9a
Merge pull request #4 from seapagan/add-table-output
seapagan Aug 19, 2024
65a27ce
remove extra init step
seapagan Aug 19, 2024
dabfa9e
major refactor into separate files
seapagan Aug 19, 2024
b43ba2f
fix tests action
seapagan Aug 19, 2024
bf5a4ac
Merge pull request #5 from seapagan/refactor-layout
seapagan Aug 19, 2024
6c3d62b
update README and TODO
seapagan Aug 19, 2024
07ffc2d
add changelog generator
seapagan Aug 19, 2024
31b8593
consolidate old change info and add auto-generated info
seapagan Aug 19, 2024
d59b834
add a new CHANGELOG for this fork
seapagan Aug 19, 2024
c6c10d5
Merge pull request #6 from seapagan/add-changelog
seapagan Aug 19, 2024
f834ba4
prep for 0.8.0 release
seapagan Aug 19, 2024
09fe339
tweak project metadata
seapagan Aug 19, 2024
64534f5
add config file to hold default_license
seapagan Aug 19, 2024
351bd20
add 'organization' to the config file
seapagan Aug 19, 2024
88ba548
exit if a bad license name given
seapagan Aug 19, 2024
ecd8e65
update README
seapagan Aug 19, 2024
0754162
Merge pull request #7 from seapagan/add-config
seapagan Aug 19, 2024
0e0bab6
update CHANGELOG
seapagan Aug 19, 2024
254a4ee
update TODO
seapagan Aug 21, 2024
6979d07
convert to using 'Typer' for the CLI
seapagan Aug 21, 2024
53499e1
remove original cli definition file
seapagan Aug 21, 2024
4280e44
refactor the CLI calling slightly
seapagan Aug 21, 2024
b6351ab
add '-h' as another option for help
seapagan Aug 21, 2024
b090843
check for bad default_license in config file
seapagan Aug 21, 2024
05b5571
improve help output for language option
seapagan Aug 21, 2024
98106fe
update README and TODO
seapagan Aug 21, 2024
aad08f8
fix regression causing config default to be ignored
seapagan Aug 21, 2024
53c4341
update README to mention auto-completions
seapagan Aug 21, 2024
938beea
update README and TODO
seapagan Aug 21, 2024
1083191
capitalize help strings
seapagan Aug 21, 2024
714c213
Merge pull request #8 from seapagan/convert-to-typer
seapagan Aug 21, 2024
2ebbc33
update CHANGELOG
seapagan Aug 21, 2024
9c03609
WIP on improving tests
seapagan Aug 21, 2024
872dc81
add pyfakefs for later use
seapagan Aug 21, 2024
7f4cb42
complete most of the tests for helpers.py
seapagan Aug 21, 2024
fda4c8c
remove double import
seapagan Aug 21, 2024
ade524b
update settings library to latest version
seapagan Aug 22, 2024
7468582
run tests under pyfakefs
seapagan Aug 22, 2024
51a6010
allow settings file to be missing
seapagan Aug 22, 2024
7fc6d84
add typing to tests where missing
seapagan Aug 22, 2024
fac935d
complete testing helpers.py
seapagan Aug 22, 2024
3f1dd32
complete tests for now
seapagan Aug 22, 2024
ff885b8
ignore deprecation warning in pytest
seapagan Aug 22, 2024
71a0491
Merge pull request #9 from seapagan/more-testing
seapagan Aug 22, 2024
ae729db
update TODO and README
seapagan Aug 22, 2024
19a29d5
add mkdocs and useful deps to create a docs site
seapagan Aug 24, 2024
73b0345
[pre-commit.ci] auto fixes from pre-commit.com hooks [dependabot skip]
pre-commit-ci[bot] Aug 24, 2024
c2dc295
add a CoC and Contributing doc
seapagan Aug 24, 2024
416b4e1
add skeleton docs and tasks
seapagan Aug 24, 2024
79671c2
add a SECURITY file
seapagan Aug 24, 2024
8267592
add a CONTRIBUTING file
seapagan Aug 24, 2024
a2d251d
update TODO
seapagan Aug 24, 2024
1dfe6c2
add the docs site
seapagan Aug 24, 2024
f73c879
add docs site to README
seapagan Aug 24, 2024
9d918eb
prep for 0.9.0 release
seapagan Aug 24, 2024
b8f0a30
fix the extra spaces and newlines bug
seapagan Aug 26, 2024
d984fbc
fix failing test d/t fix
seapagan Aug 26, 2024
933a642
add a 'legacy' mode for template generation
seapagan Aug 26, 2024
88b53ab
update docs for new behavior and 'legacy' flag
seapagan Aug 26, 2024
90b271a
Merge pull request #14 from seapagan/fix-extra-spaces
seapagan Aug 26, 2024
35a826c
fix typo in docs
seapagan Aug 26, 2024
92eb0d6
prep for 0.10.0 release
seapagan Aug 26, 2024
54b3cd9
fix README
seapagan Aug 26, 2024
57c5536
prep for 0.10.1 release
seapagan Aug 26, 2024
fe316ae
fix bug #17
seapagan Aug 26, 2024
19fd305
Merge pull request #18 from seapagan/fix-17
seapagan Aug 26, 2024
daf1593
add markdown mapping (same as html) (#19)
seapagan Aug 26, 2024
616c1ff
prep for 0.10.2 release
seapagan Aug 26, 2024
58d64bb
add changelog to documentation site
seapagan Aug 26, 2024
3201784
Bump rich from 13.7.1 to 13.8.0 (#26)
dependabot[bot] Aug 27, 2024
cbb7bd3
Bump typer from 0.12.4 to 0.12.5 (#22)
dependabot[bot] Aug 27, 2024
21e44aa
Bump mypy from 1.11.1 to 1.11.2 (#24)
dependabot[bot] Aug 27, 2024
5dffcae
Bump mkdocs-autorefs from 1.0.1 to 1.1.0 (#23)
dependabot[bot] Aug 27, 2024
ac18ffc
[pre-commit.ci] pre-commit autoupdate (#21)
pre-commit-ci[bot] Aug 27, 2024
87f8875
Bump ruff from 0.6.1 to 0.6.2 (#25)
dependabot[bot] Aug 27, 2024
514bf44
add clipboard support package
seapagan Aug 28, 2024
171642d
implement clipboard for license and header outputs
seapagan Aug 28, 2024
ea0e59f
add tests for the clipboard option
seapagan Aug 28, 2024
bdd1f19
update docs with new clipboard option
seapagan Aug 28, 2024
a7b74cb
Merge pull request #27 from seapagan/copy-to-clipboard
seapagan Aug 28, 2024
261259f
remove old info from README
seapagan Aug 28, 2024
f08d9a5
prep for 0.11.0 release
seapagan Aug 28, 2024
555ce20
update TODO
seapagan Aug 30, 2024
b6e1959
fix some typing issues
seapagan Aug 30, 2024
9828bb8
add '--version' flag
seapagan Aug 30, 2024
8962f81
add tests for the version flag
seapagan Aug 30, 2024
a2bbea9
better way of getting the version number
seapagan Aug 30, 2024
80b5eef
add help to the version flag
seapagan Aug 30, 2024
74afe17
Merge pull request #29 from seapagan/add-version
seapagan Aug 31, 2024
c115fc7
implement '--metadata' flag
seapagan Aug 31, 2024
fe44f92
add tests
seapagan Aug 31, 2024
f3fc02a
tweak test a little
seapagan Aug 31, 2024
7f3189a
update docs with new option
seapagan Aug 31, 2024
b8ccc97
Merge pull request #30 from seapagan/json-output
seapagan Aug 31, 2024
71e45ab
update CHANGELOG
seapagan Aug 31, 2024
3657ad5
wip on api
seapagan Aug 31, 2024
da6e860
api: add some exceptions and tests for them
seapagan Aug 31, 2024
edd6058
use a function to get the curent year, localized
seapagan Sep 1, 2024
09e94ba
api: add the 'get_license' method and related tests
seapagan Sep 1, 2024
61febe8
api: wip add and test exception for invalid year
seapagan Sep 1, 2024
60dab2b
api: add 'get_Header' method and tests
seapagan Sep 1, 2024
61f1b52
api: ensure year is a string and test it
seapagan Sep 1, 2024
b08bbbb
api: allow year to be specified as an integer
seapagan Sep 1, 2024
7d5e719
api: further sanity check on the given year
seapagan Sep 1, 2024
ae9faee
api: update docs
seapagan Sep 1, 2024
60bcec2
fix docs typo
seapagan Sep 1, 2024
c64637c
Merge pull request #31 from seapagan/add-api
seapagan Sep 1, 2024
a40803e
update CHANGELOG
seapagan Sep 1, 2024
4451937
conver API tests to a class
seapagan Sep 2, 2024
22081a2
convert main tests to a class
seapagan Sep 2, 2024
26343b5
move a fixture out to conftest.py
seapagan Sep 2, 2024
b9239f9
Merge pull request #32 from seapagan/tweak-tests
seapagan Sep 2, 2024
3025eeb
add more language options
seapagan Sep 2, 2024
4a34b17
change the SQL mapping to the more correct 'c' for block comments
seapagan Sep 2, 2024
89b886d
Merge pull request #33 from seapagan/add-lang
seapagan Sep 2, 2024
1aac91f
add some more licenses in common usage (#34)
seapagan Sep 2, 2024
127c3e1
update CHANGELOG
seapagan Sep 2, 2024
35f3af4
Refactor some of the logic in the CLI (#35)
seapagan Sep 2, 2024
1be7a0c
prep for 0.12.0 release
seapagan Sep 2, 2024
33a9a13
update version in SECURITY.md
seapagan Sep 2, 2024
388260c
Bump ruff from 0.6.2 to 0.6.3 (#41)
dependabot[bot] Sep 5, 2024
e75ccc8
[pre-commit.ci] pre-commit autoupdate (#37)
pre-commit-ci[bot] Sep 5, 2024
e35c2cd
Bump mkdocs-autorefs from 1.1.0 to 1.2.0 (#42)
dependabot[bot] Sep 5, 2024
3a67922
Bump cryptography from 43.0.0 to 43.0.1 (#43)
dependabot[bot] Sep 5, 2024
b8f1cd6
Bump mkdocs-material from 9.5.33 to 9.5.34 (#40)
dependabot[bot] Sep 5, 2024
a7039dd
Bump mkdocs from 1.6.0 to 1.6.1 (#39)
dependabot[bot] Sep 5, 2024
bf3f682
Bump poethepoet from 0.27.0 to 0.28.0 (#38)
dependabot[bot] Sep 5, 2024
5e7317d
Bump pymarkdownlnt from 0.9.22 to 0.9.23 (#46)
dependabot[bot] Sep 10, 2024
ea36e27
[pre-commit.ci] pre-commit autoupdate (#45)
pre-commit-ci[bot] Sep 10, 2024
3f12281
Bump ruff from 0.6.3 to 0.6.4 (#47)
dependabot[bot] Sep 10, 2024
03c0635
migrate from poetry to uv
seapagan Nov 9, 2024
ea1d016
update github actions
seapagan Nov 9, 2024
fa65e6d
migrate from dependabot to renovate
seapagan Nov 9, 2024
dbf04c4
try and fix tests
seapagan Nov 9, 2024
8711d51
fix crashes on python <3.12 after convert to uv
seapagan Nov 10, 2024
480dac1
remove 'Annotated' from typer config as it chokes on python 3.9 and p…
seapagan Nov 10, 2024
6abf0f4
update docs
seapagan Nov 11, 2024
f93e450
remove mention of poetry
seapagan Nov 11, 2024
5f29fcd
Merge pull request #72 from seapagan/convert-to-uv
seapagan Nov 13, 2024
2babe62
prep for 0.13.0 release
seapagan Nov 13, 2024
90b2564
Remove all mentions of 'lice2' from the code and structure
seapagan Jan 16, 2025
02088c8
Fix python 3.13 support
seapagan Jan 16, 2025
fc8d34f
reword lice2 changelog
seapagan Jan 16, 2025
d1c06a3
Update branch references in GitHub Actions workflow to include 'master'
seapagan Jan 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"labels": [
"dependencies"
],
"gitIgnoredAuthors": [
"66853113+pre-commit-ci[bot]@users.noreply.github.com"
],
"enabled": true,
"enabledManagers": [
"pep621",
"github-actions"
],
"ignoreDeps": []
}
20 changes: 20 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
17 changes: 17 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Linting

on: [push, pull_request, workflow_dispatch]

jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Linting
uses: astral-sh/ruff-action@v3
with:
args: check
- name: Check Formatting
uses: astral-sh/ruff-action@v3
with:
args: format --check
24 changes: 24 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Type Checking

on: [push, pull_request, workflow_dispatch]

jobs:
mypy:
# uncomment the line before to disable this job if needed.
# if: false
name: mypy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"

- name: Set up Python
run: uv python install 3.12

- name: Run mypy
run: uv run --all-extras mypy . --strict
32 changes: 0 additions & 32 deletions .github/workflows/pythonpackage.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Tests

on:
push:
branches: ["master", "main"]
pull_request:
branches: ["master", "main"]
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
env:
SKIP_COVERAGE_UPLOAD: false
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"

- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Run tests
# For example, using `pytest`
run: uv run -p ${{ matrix.python-version }} pytest --cov-report=xml

- name: Run codacy-coverage-reporter
env:
CODACY_CONFIGURED: ${{ secrets.CODACY_PROJECT_TOKEN }}
if: ${{ env.CODACY_CONFIGURED != ''}}
uses: codacy/codacy-coverage-reporter-action@v1
continue-on-error: true
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ./coverage.xml
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ build
*__pycache__*
*.swp
.tox
.coverage
.vscode/
.changelog_generator.toml
.python-version
site/
api-test.py
repopack-output.txt
.envrc
5 changes: 5 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"MD026": {
"punctuation": ".,;:。,;:!"
}
}
58 changes: 58 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
ci:
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit.com hooks"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
args: [--unsafe]
- id: trailing-whitespace
- id: check-toml
- id: check-merge-conflict
- id: end-of-file-fixer

- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 39.109.0
hooks:
- id: renovate-config-validator
files: ^renovate\.json$

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.1
hooks:
- id: ruff
name: "lint with ruff"
- id: ruff-format
name: "format with ruff"

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.14.1" # Use the sha / tag you want to point at
hooks:
- id: mypy
name: "run mypy"
additional_dependencies:
- pydantic

- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.5.20
hooks:
# Update the uv lockfile
- id: uv-lock
- id: uv-export
name: "Export dependencies to 'requirements.txt'"
args:
[
"--no-hashes",
"--no-dev",
"--no-emit-project",
"--output-file=requirements.txt",
]
- id: uv-export
name: "Export dev dependencies to 'requirements-dev.txt'"
args:
[
"--no-hashes",
"--no-emit-project",
"--output-file=requirements-dev.txt",
]
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

This is an auto-generated log of all the changes that have been made to the
project since release 0.6.0.

For the changelog from 'lice2' which has been back-ported into this project,
please refer to the "OLD_CHANGELOG2.md" file in the repository.

For the original lice changelog, please refer to the "OLD_CHANGELOG.md" file in
the repository.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
132 changes: 132 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@

# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at <[email protected]>.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
Loading
Loading