-
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.
- Loading branch information
Showing
12 changed files
with
126 additions
and
285 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
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 |
---|---|---|
|
@@ -127,6 +127,3 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# project-specific | ||
/type-enum/README.md |
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
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,11 @@ | ||
[project] | ||
name = "type-enum-workspace" | ||
version = "0.0.0" | ||
requires-python = ">= 3.11" | ||
|
||
[tool.rye] | ||
managed = true | ||
virtual = true | ||
|
||
[tool.rye.workspace] | ||
members = ["type-enum*"] |
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,18 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
|
||
-e file:type-enum | ||
-e file:type-enum-plugin | ||
mypy==1.7.1 | ||
# via type-enum-plugin | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
ruff==0.2.2 | ||
typing-extensions==4.9.0 | ||
# via mypy |
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,17 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
|
||
-e file:type-enum | ||
-e file:type-enum-plugin | ||
mypy==1.8.0 | ||
# via type-enum-plugin | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
typing-extensions==4.9.0 | ||
# via mypy |
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,34 +1,42 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "type-enum-plugin" | ||
version = "0.4.1a0" | ||
description = "Mypy plugin for type-enum." | ||
authors = ["Thomas MK <[email protected]>"] | ||
license = "Apache License 2.0" | ||
authors = [ | ||
{ name = "Thomas MK", email = "[email protected]" }, | ||
] | ||
license = { text = "Apache-2.0" } | ||
readme = "README.md" | ||
packages = [{ include = "type_enum_plugin" }] | ||
# packages = [{ include = "type_enum_plugin" }] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
] | ||
repository = "https://github.com/tmke8/type_enum" | ||
requires-python = ">=3.11" | ||
dependencies = [ | ||
"mypy", | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.11" | ||
mypy = "*" | ||
[project.urls] | ||
Documentation = "https://github.com/tmke8/type-enum#readme" | ||
Issues = "https://github.com/tmke8/type-enum/issues" | ||
Source = "https://github.com/tmke8/type-enum" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
mypy = "^1.5" | ||
ruff = ">=0.0.292" | ||
[tool.rye] | ||
managed = true | ||
dev-dependencies = ["mypy >= 1.5", "ruff >= 0.0.292"] | ||
|
||
[tool.ruff] | ||
line-length = 88 | ||
|
||
[tool.ruff.lint] | ||
select = [ | ||
"I", # isort | ||
] | ||
|
||
[tool.ruff.isort] | ||
[tool.ruff.lint.isort] | ||
known-third-party = ["mypy", "pytest"] | ||
extra-standard-library = ["typing_extensions"] | ||
no-lines-before = ["future", "standard-library"] | ||
|
@@ -37,5 +45,5 @@ split-on-trailing-comma = false | |
classes = ["MDEF"] | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" |
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
Oops, something went wrong.