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

[pre-commit.ci] pre-commit autoupdate #843

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
84 changes: 16 additions & 68 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"projectOwner": "hotosm",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"files": ["README.md"],
"imageSize": 100,
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/HOTOSM-Thanks%20for%20contributing!-red/github/all-contributors/hotosm/FMTM?color=red&style=flat-square)](#contributors)",
"commit": true,
Expand All @@ -16,155 +14,105 @@
"name": "Ivan Gayton",
"avatar_url": "https://avatars.githubusercontent.com/u/5991943?v=4",
"profile": "http://ivangayton.net",
"contributions": [
"projectManagement",
"code",
"review",
"ideas"
]
"contributions": ["projectManagement", "code", "review", "ideas"]
},
{
"login": "robsavoye",
"name": "Rob Savoye",
"avatar_url": "https://avatars.githubusercontent.com/u/71342768?v=4",
"profile": "https://www.hotosm.org",
"contributions": [
"maintenance",
"mentoring",
"code",
"review",
"ideas"
]
"contributions": ["maintenance", "mentoring", "code", "review", "ideas"]
},
{
"login": "krtonga",
"name": "krtonga",
"avatar_url": "https://avatars.githubusercontent.com/u/7307817?v=4",
"profile": "https://github.com/krtonga",
"contributions": [
"code",
"doc",
"tool",
"ideas"
]
"contributions": ["code", "doc", "tool", "ideas"]
},
{
"login": "spwoodcock",
"name": "Sam",
"avatar_url": "https://avatars.githubusercontent.com/u/78538841?v=4",
"profile": "https://github.com/spwoodcock",
"contributions": [
"code",
"review",
"infra",
"ideas",
"maintenance"
]
"contributions": ["code", "review", "infra", "ideas", "maintenance"]
},
{
"login": "petya-kangalova",
"name": "Petya ",
"avatar_url": "https://avatars.githubusercontent.com/u/98902727?v=4",
"profile": "https://www.hotosm.org/people/petya-kangalova/",
"contributions": [
"doc",
"eventOrganizing",
"ideas"
]
"contributions": ["doc", "eventOrganizing", "ideas"]
},
{
"login": "Mudi-business",
"name": "Mohamed Bakari Mohamed",
"avatar_url": "https://avatars.githubusercontent.com/u/52991565?v=4",
"profile": "http://zanrevenue.org",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "biomassives",
"name": "G. Willson",
"avatar_url": "https://avatars.githubusercontent.com/u/4379874?v=4",
"profile": "https://www.scdhub.org",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "Ndacyayisenga-droid",
"name": "Tayebwa Noah",
"avatar_url": "https://avatars.githubusercontent.com/u/58124613?v=4",
"profile": "https://github.com/Ndacyayisenga-droid",
"contributions": [
"doc"
]
"contributions": ["doc"]
},
{
"login": "mohammadareeb95",
"name": "Mohammad Areeb",
"avatar_url": "https://avatars.githubusercontent.com/u/77102111?v=4",
"profile": "https://github.com/mohammadareeb95",
"contributions": [
"doc"
]
"contributions": ["doc"]
},
{
"login": "AugustHottie",
"name": "AugustHottie",
"avatar_url": "https://avatars.githubusercontent.com/u/96122635?v=4",
"profile": "https://github.com/AugustHottie",
"contributions": [
"doc"
]
"contributions": ["doc"]
},
{
"login": "Balofire",
"name": "Ahmeed Etti-Balogun",
"avatar_url": "https://avatars.githubusercontent.com/u/102294666?v=4",
"profile": "https://github.com/Balofire",
"contributions": [
"doc"
]
"contributions": ["doc"]
},
{
"login": "Roseford",
"name": "Uju",
"avatar_url": "https://avatars.githubusercontent.com/u/75838716?v=4",
"profile": "https://github.com/Roseford",
"contributions": [
"doc"
]
"contributions": ["doc"]
},
{
"login": "neelimagoogly",
"name": "Neelima Mohanty",
"avatar_url": "https://avatars.githubusercontent.com/u/97789856?v=4",
"profile": "https://github.com/neelimagoogly",
"contributions": [
"doc"
]
"contributions": ["doc"]
},
{
"login": "varun2948",
"name": "Deepak Pradhan (Varun)",
"avatar_url": "https://avatars.githubusercontent.com/u/37866666?v=4",
"profile": "https://github.com/varun2948",
"contributions": [
"code",
"ideas",
"maintenance"
]
"contributions": ["code", "ideas", "maintenance"]
},
{
"login": "nrjadkry",
"name": "Niraj Adhikari",
"avatar_url": "https://avatars.githubusercontent.com/u/41701707?v=4",
"profile": "https://github.com/nrjadkry",
"contributions": [
"code",
"ideas",
"maintenance"
]
"contributions": ["code", "ideas", "maintenance"]
}
],
"contributorsPerLine": 7,
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
repos:
# Versioning: Commit messages & changelog
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.27.1
rev: 3.10.0
hooks:
- id: commitizen
stages: [commit-msg]

# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.9.1
hooks:
- id: black
files: ^src/backend/(?:.*/)*.*$
args: [--target-version=py39]

# Lint / autoformat: Python code
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.248"
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.291"
hooks:
- id: ruff
files: ^src/backend/(?:.*/)*.*$
args: [--fix, --exit-non-zero-on-fix]

# Autoformat: YAML, JSON, Markdown, etc.
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.1
rev: v3.0.3
hooks:
- id: prettier
args: [--ignore-unknown, --no-error-on-unmatched-pattern, "!chart/**"]

# Lint: Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.31.1
rev: v0.37.0
hooks:
- id: markdownlint
args: [--fix]
Loading
Loading