-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
104 lines (94 loc) · 3.59 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=66,<68",
"setuptools_scm[toml]>=3.5.0",
"wheel",
]
[project]
# This should be the *installed* package name e.g. catalystcoop.pudl not pudl
name = "catalystcoop.pudl_rmi"
description = "A one line description of the package."
readme = {file = "README.md", content-type = "text/markdown"}
authors = [
{name = "Catalyst Cooperative", email = "pudl@catalyst.coop"}
]
requires-python = ">=3.11,<3.12"
dynamic = ["version"]
license = {file = "LICENSE.txt"}
dependencies = [
"catalystcoop-pudl @ git+https://github.com/catalyst-cooperative/pudl@main",
"fuzzywuzzy>=0.18,<0.19",
"recordlinkage>=0.14,<0.16",
"pandas>=1.5,<3.0",
"python-levenshtein>=0.20,<1.0",
"sqlalchemy>=1.4,<3.0",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
]
keywords=["depreciation", "ferc1", "eia", "rmi"]
[project.urls]
# "Homepage" = ""
"Source" = "https://github.com/catalyst-cooperative/rmi-ferc1-eia/"
"Issue Tracker" = "https://github.com/catalyst-cooperative/rmi-ferc1-eia/issues"
[project.optional-dependencies]
dev = [
"build>=0.10,<0.11", # The setuptools package builder
"black>=22.0,<23.4", # A deterministic code formatter
"isort>=5.0,<5.13", # Standardized import sorting
"tox>=4.0,<4.6", # Python test environment manager
"twine>=3.3,<4.1", # Used to make releases to PyPI
]
docs = [
"doc8>=0.9,<1.2", # Ensures clean documentation formatting
"furo>=2022.4.7",
"sphinx>=4,!=5.1.0,<6.3", # The default Python documentation engine
"sphinx-autoapi>=1.8,<2.2", # Generates documentation from docstrings
"sphinx-issues>=1.2,<3.1", # Allows references to GitHub issues
]
tests = [
"bandit>=1.6,<1.8", # Checks code for security issues
"coverage>=5.3,<7.3", # Lets us track what code is being tested
"doc8>=0.9,<1.2", # Ensures clean documentation formatting
"flake8-builtins>=1.5,<2.2", # Avoid shadowing Python built-in names
"flake8-colors>=0.1,<0.2", # Produce colorful error / warning output
"flake8-docstrings>=1.5,<1.8", # Ensure docstrings are formatted well
"flake8-rst-docstrings>=0.2,<0.4", # Allow use of ReST in docstrings
"flake8-use-fstring>=1.0,<1.5", # Highlight use of old-style string formatting
"flake8>=4.0,<6.1", # A framework for linting & static analysis
"jupyter", # For integration testing Jupyter notebooks
"mccabe>=0.6,<0.8", # Checks that code isn't overly complicated
"mypy>=1.0,<1.3", # Static type checking
"nbconvert>=7,<8",
"nbformat>=5,<6",
"pep8-naming>=0.12,<0.14", # Require PEP8 compliant variable names
"pre-commit>=2.9,<3.3", # Allow us to run pre-commit hooks in testing
"pydocstyle>=5.1,<6.4", # Style guidelines for Python documentation
"pytest-console-scripts>=1.1,<1.4", # Allow automatic testing of scripts
"pytest-cov>=2.10,<4.1", # Pytest plugin for working with coverage
"pytest>=6.2,<7.4", # Our testing framework
"rstcheck[sphinx]>=5.0,<6.2", # ReStructuredText linter
"tox>=4.0,<4.6", # Python test environment manager
]
types = [
"types-setuptools",
]
[tool.setuptools_scm]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
[tool.black]
line-length = 88
target-version = ["py311"]
include = "\\.pyi?$"
[tool.isort]
profile = "black"
known_first_party = ["pudl_rmi"]