-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- use Poetry - use pre-commit - use pytest - use reuse - bring coverage to 100% Signed-off-by: Aurélien Bompard <[email protected]>
- Loading branch information
Showing
39 changed files
with
4,353 additions
and
2,533 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
**/__pycache__ | ||
*.swp | ||
*.pyc | ||
*.egg* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
|
||
repos: | ||
# Generic hooks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
|
||
# https://black.readthedocs.io/en/stable/integrations/source_version_control.html | ||
- repo: https://github.com/psf/black | ||
rev: 23.10.1 | ||
hooks: | ||
- id: black | ||
|
||
# Ruff | ||
- repo: https://github.com/charliermarsh/ruff-pre-commit | ||
rev: v0.1.3 | ||
hooks: | ||
- id: ruff | ||
# License headers | ||
- repo: https://github.com/fsfe/reuse-tool | ||
rev: v2.1.0 | ||
hooks: | ||
- id: reuse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: mailman3-fedmsg-plugin | ||
Upstream-Contact: Fedora Infrastructure <[email protected]> | ||
Source: https:////github.com/fedora-infra/mailman3-fedmsg-plugin | ||
|
||
# Sample paragraph, commented out: | ||
# | ||
# Files: src/* | ||
# Copyright: $YEAR $NAME <$CONTACT> | ||
# License: ... | ||
|
||
Files: *.yaml *.md *.rst *.toml .gitignore *.ini .github/* | ||
Copyright: Contributors to the Fedora Project | ||
License: LGPL-3.0-or-later | ||
|
||
Files: mailman_schema/*.toml mailman_schema/.gitignore | ||
Copyright: Contributors to the Fedora Project | ||
License: LGPL-3.0-or-later | ||
|
||
Files: poetry.lock mailman_schema/poetry.lock | ||
Copyright: None, autogenerated | ||
License: LGPL-3.0-or-later |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.