-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 0.1.0 - Update to using pyproject.toml
- Loading branch information
1 parent
20ab636
commit ec8b96f
Showing
12 changed files
with
935 additions
and
342 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 = "idlealign" | ||
version = "0.1.0" | ||
authors = [ | ||
{ name="CoolCat467" }, | ||
] | ||
description = "Emacs Align by Regular Expression for IDLE" | ||
readme = {file = "README.md", content-type = "text/markdown"} | ||
license = {file = "LICENSE"} | ||
requires-python = ">=3.8" | ||
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 = ["align", "regex", "idle", "extension", "development"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/CoolCat467/idlealign" | ||
"Source" = "https://github.com/CoolCat467/idlealign" | ||
"Bug Tracker" = "https://github.com/CoolCat467/idlealign/issues" | ||
|
||
[project.scripts] | ||
idlealign = "idlealign: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'] |
Empty file.
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.