-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 0.3.1 - Update to using pyproject.toml instead of setup.py
- Loading branch information
1 parent
26fe18d
commit b58e140
Showing
12 changed files
with
1,141 additions
and
415 deletions.
There are no files selected for viewing
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 @@ | ||
repos: | ||
- repo: https://github.com/hadialqattan/pycln | ||
rev: v2.1.3 # must match requirements_dev.txt | ||
hooks: | ||
- id: pycln | ||
args: [--config=pyproject.toml, src] | ||
- repo: https://github.com/psf/black | ||
rev: 23.1.0 # must match requirements_dev.txt | ||
hooks: | ||
- id: black | ||
language_version: python3.11 | ||
args: [--safe] | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 # must match requirements_dev.txt | ||
hooks: | ||
- id: isort | ||
name: isort (python) | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v3.0.0-alpha.6 | ||
hooks: | ||
- id: prettier | ||
types_or: [yaml] | ||
|
||
ci: | ||
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit.com hooks" | ||
autofix_prs: true | ||
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate" | ||
autoupdate_schedule: quarterly | ||
submodules: false |
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,61 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "lintcheck" | ||
version = "0.3.1" | ||
authors = [ | ||
{ name="CoolCat467" }, | ||
] | ||
description = "Pylint extension for IDLE" | ||
readme = {file = "README.md", content-type = "text/markdown"} | ||
license = {file = "LICENSE"} | ||
requires-python = ">=3.7" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Operating System :: OS Independent", | ||
"Framework :: IDLE", | ||
"Topic :: Utilities", | ||
"Typing :: Typed", | ||
] | ||
keywords = ["pylint", "idle", "extension", "development"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/CoolCat467/lintcheck" | ||
"Source" = "https://github.com/CoolCat467/lintcheck" | ||
"Bug Tracker" = "https://github.com/CoolCat467/lintcheck/issues" | ||
|
||
[project.scripts] | ||
lintcheck = "lintcheck:check_installed" | ||
|
||
[tool.mypy] | ||
mypy_path = "src" | ||
check_untyped_defs = true | ||
disallow_any_generics = true | ||
disallow_untyped_calls = true | ||
disallow_untyped_defs = true | ||
ignore_missing_imports = true | ||
no_implicit_optional = true | ||
no_implicit_reexport = true | ||
show_column_numbers = true | ||
show_error_codes = true | ||
strict = true | ||
strict_equality = true | ||
warn_redundant_casts = true | ||
warn_return_any = true | ||
warn_unreachable = true | ||
warn_unused_configs = true | ||
warn_unused_ignores = true | ||
|
||
[tool.black] | ||
line-length = 79 | ||
target-version = ['py311'] |
File renamed without changes.
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,5 @@ | ||
black==23.1.0 # must match .pre-commit-config.yaml | ||
isort==5.12.0 # must match .pre-commit-config.yaml | ||
mypy==1.0.1 | ||
pycln==2.1.3 # must match .pre-commit-config.yaml | ||
pre-commit |
Oops, something went wrong.