-
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.
build: Move requirements into pyproject.toml. Reconfigure Sphinx. Rem…
…ove installation page.
- Loading branch information
1 parent
4493390
commit b64bce8
Showing
8 changed files
with
67 additions
and
113 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,12 @@ | ||
version: 2 | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
python: | ||
install: | ||
- path: . | ||
- requirements: docs/requirements.txt | ||
sphinx: | ||
configuration: docs/conf.py | ||
fail_on_warning: true |
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
furo |
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,60 +1,49 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "nightingale" | ||
version = "0.0.1" | ||
readme = "README.rst" | ||
authors = [{name = "Open Contracting Partnership", email = "[email protected]"}] | ||
description = "An ETL to transform US cities procurement data into OCDS format." | ||
#description-file = "README.rst" | ||
authors = [ | ||
{ name = "Open Contracting Partnership", email = "[email protected]" }, | ||
] | ||
|
||
readme = "README.rst" | ||
license = {text = "BSD"} | ||
urls = {Homepage = "https://github.com/open-contracting/nightingale"} | ||
classifiers = [ | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
] | ||
|
||
|
||
[project.license] | ||
file = "LICENSE" | ||
dependencies = [ | ||
"click", | ||
"click-pathlib", | ||
"dict-hash", | ||
"ocdskit", | ||
"openpyxl", | ||
"pydantic", | ||
"simplejson", | ||
] | ||
|
||
[project.scripts] | ||
nightingale = "nightingale.cli:run" | ||
|
||
[project.urls] | ||
Documentation = "https://github.com/open-contracting/nightingale" | ||
Source = "https://github.com/open-contracting/nightingale" | ||
|
||
[build-system] | ||
requires = ["setuptools>=61.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.pylint.BASIC] | ||
good-names = 'e,f,i,n,io' # exception, file, enumerate, number | ||
|
||
[tool.pylint.'MESSAGES CONTROL'] | ||
disable = [ | ||
'too-many-arguments', | ||
# Defer to flake8 | ||
'line-too-long', | ||
# Defer to pydocstyle | ||
'missing-module-docstring', | ||
'missing-class-docstring', | ||
'missing-function-docstring', | ||
[project.optional-dependencies] | ||
test = [ | ||
"coverage", | ||
"pytest", | ||
] | ||
|
||
[tool.setuptools] | ||
packages = ["nightingale"] | ||
|
||
|
||
[tool.coverage.run] | ||
omit = ["tests/*"] | ||
[tool.setuptools.packages.find] | ||
exclude = [ | ||
"tests", | ||
"tests.*", | ||
] | ||
|
||
[tool.ruff] | ||
ignore = ['E501'] | ||
line-length = 119 | ||
target-version = "py311" | ||
ignore = ["E501"] |
This file was deleted.
Oops, something went wrong.