Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: fix mypy pre-commit hook#1562

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JohnVillalovos merged 3 commits intomasterfromchore/fix-mypy-pre-commit
Aug 23, 2021
Merged
Show file tree
Hide file tree
Changes fromall 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
9 changes: 0 additions & 9 deletions.mypy.ini
View file
Open in desktop

This file was deleted.

5 changes: 4 additions & 1 deletion.pre-commit-config.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,6 +21,9 @@ repos:
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
rev: v0.910
hooks:
- id: mypy
additional_dependencies:
- types-PyYAML==5.4.3
- types-requests==2.25.1
10 changes: 10 additions & 0 deletions.renovaterc.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,12 +12,22 @@
"depNameTemplate": "gitlab/gitlab-ce",
"datasourceTemplate": "docker",
"versioningTemplate": "loose"
},
{
"fileMatch": ["^.pre-commit-config.yaml$"],
"matchStrings": ["- (?<depName>.*?)==(?<currentValue>.*?)\n"],
"datasourceTemplate": "pypi",
"versioningTemplate": "pep440"
}
],
"packageRules": [
{
"packagePatterns": ["^gitlab\/gitlab-.+$"],
"automerge": true
},
{
"matchPackagePrefixes": ["types-"],
"groupName": "typing dependencies"
}
]
}
Empty file addeddocs/__init__.py
View file
Open in desktop
Empty file.
23 changes: 23 additions & 0 deletionspyproject.toml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,6 +3,29 @@ profile = "black"
multi_line_output = 3
order_by_type = false

[tool.mypy]
disallow_incomplete_defs = true
disallow_untyped_defs = true
files = "."

[[tool.mypy.overrides]] # Overrides for currently untyped modules
module = [
"docs.*",
"docs.ext.*",
"gitlab.v4.objects.*",
"setup",
"tests.functional.*",
"tests.functional.api.*",
"tests.unit.*"
]
ignore_errors = true

[[tool.mypy.overrides]] # Overrides to negate above patterns
module = [
"gitlab.v4.objects.projects"
]
ignore_errors = false

[tool.semantic_release]
version_variable = "gitlab/__version__.py:__version__"
commit_subject = "chore: release v{version}"
Expand Down
Empty file addedtests/__init__.py
View file
Open in desktop
Empty file.
View file
Open in desktop
Empty file.
View file
Open in desktop
Empty file.
View file
Open in desktop
Empty file.
View file
Open in desktop
Empty file.

[8]ページ先頭

©2009-2025 Movatter.jp