-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from mideind/pyproject
pyproject.toml
- Loading branch information
Showing
11 changed files
with
89 additions
and
153 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 |
---|---|---|
|
@@ -119,7 +119,7 @@ mypy.ini | |
# Vim swap files | ||
.*.swp | ||
|
||
|
||
.DS_Store | ||
|
||
# Sveinbjörn's temp files | ||
test.py |
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
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,66 @@ | ||
[project] | ||
name = "tokenizer" | ||
version = "3.4.3" | ||
description = "A tokenizer for Icelandic text" | ||
authors = [{ name = "Miðeind ehf.", email = "[email protected]" }] | ||
readme = { file = "README.rst", content-type = "text/x-rst" } | ||
license = { file = "LICENSE.txt" } | ||
# For classifier list see: https://pypi.org/pypi?%3Aaction=list_classifiers | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: Unix", | ||
"Operating System :: POSIX", | ||
"Operating System :: Microsoft :: Windows", | ||
"Natural Language :: Icelandic", | ||
"Programming Language :: Python", | ||
"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 :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Utilities", | ||
"Topic :: Text Processing :: Linguistic", | ||
] | ||
requires-python = ">=3.8" | ||
|
||
[project.urls] | ||
Repository = "https://github.com/mideind/Tokenizer" | ||
|
||
[project.optional-dependencies] | ||
# dev dependencies | ||
dev = ["pytest"] | ||
|
||
[project.scripts] | ||
# 'tokenize' command line tool | ||
tokenize = "tokenizer.main:main" | ||
|
||
# *** Configuration of tools *** | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.setuptools.package-data] | ||
where = ["src"] | ||
|
||
[tool.pytest.ini_options] | ||
filterwarnings = [ | ||
# Ignore deprecation warnings in libraries, their problem not ours | ||
"ignore::DeprecationWarning", | ||
] | ||
|
||
[tool.ruff] | ||
line-length = 120 | ||
|
||
[tool.black] | ||
line-length = 120 | ||
|
||
[tool.isort] | ||
# This forces these imports to placed at the top | ||
known_future_library = ["__future__", "typing", "typing_extensions"] | ||
profile = "black" | ||
line_length = 120 |
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
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 was deleted.
Oops, something went wrong.