-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
1 parent
d673eec
commit 67a048f
Showing
12 changed files
with
108 additions
and
145 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
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
Large diffs are not rendered by default.
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
2 changes: 1 addition & 1 deletion
2
docs/NARK/Resources/texmf-local/texmf-local/tex/latex/articleNoRefHead.cls
Large diffs are not rendered by default.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
[build-system] | ||
requires = ["hatchling", "hatch-vcs"] | ||
requires = ["hatchling", "hatch-vcs", "hatch-requirements-txt"] | ||
build-backend = "hatchling.build" | ||
|
||
|
||
[project] | ||
name = "HARK" | ||
authors = [ | ||
{ name = "Econ-ARK Team", email = "[email protected]" }, | ||
] | ||
authors = [{ name = "Econ-ARK Team", email = "[email protected]" }] | ||
description = "Heterogeneous Agents Resources and toolKit" | ||
keywords = ["economics", "modelling", "modeling", "heterogeneity"] | ||
readme = "README.md" | ||
|
@@ -34,36 +32,15 @@ classifiers = [ | |
"Topic :: Other/Nonlisted Topic", | ||
"Typing :: Typed", | ||
] | ||
dynamic = ["version"] | ||
dependencies = [] | ||
dynamic = ["version", "dependencies", "optional-dependencies"] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest >=6", | ||
"pytest-cov >=3", | ||
] | ||
dev = [ | ||
"pytest >=6", | ||
"pytest-cov >=3", | ||
] | ||
docs = [ | ||
"sphinx>=7.0", | ||
"myst_parser>=0.13", | ||
"sphinx_copybutton", | ||
"sphinx_autodoc_typehints", | ||
"furo>=2023.08.17", | ||
# extension requirements | ||
"ipython", # for the Pygments lexer | ||
"myst-parser>=2", | ||
"nbsphinx>=0.8", | ||
# theme requirements | ||
"pydata-sphinx-theme", | ||
"sphinx>=6.1", | ||
"sphinx-copybutton", | ||
"sphinx-design", | ||
"numpy", | ||
"pandas" | ||
] | ||
[tool.hatch.metadata.hooks.requirements_txt] | ||
files = ["requirements/base.txt"] | ||
|
||
[tool.hatch.metadata.hooks.requirements_txt.optional-dependencies] | ||
docs = ["requirements/doc.txt"] | ||
test = ["requirements/dev.txt"] | ||
dev = ["requirements/dev.txt"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/econ-ark/HARK" | ||
|
@@ -86,21 +63,14 @@ scripts.test = "pytest {args}" | |
minversion = "6.0" | ||
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"] | ||
xfail_strict = true | ||
filterwarnings = [ | ||
"error", | ||
] | ||
filterwarnings = ["error"] | ||
log_cli_level = "INFO" | ||
testpaths = [ | ||
"tests", | ||
] | ||
testpaths = ["tests"] | ||
|
||
|
||
[tool.coverage] | ||
run.source = ["HARK"] | ||
report.exclude_also = [ | ||
'\.\.\.', | ||
'if typing.TYPE_CHECKING:', | ||
] | ||
report.exclude_also = ['\.\.\.', 'if typing.TYPE_CHECKING:'] | ||
|
||
[tool.mypy] | ||
files = ["src", "tests"] | ||
|
@@ -122,32 +92,32 @@ disallow_incomplete_defs = true | |
|
||
[tool.ruff.lint] | ||
extend-select = [ | ||
"B", # flake8-bugbear | ||
"I", # isort | ||
"ARG", # flake8-unused-arguments | ||
"C4", # flake8-comprehensions | ||
"EM", # flake8-errmsg | ||
"ICN", # flake8-import-conventions | ||
"G", # flake8-logging-format | ||
"PGH", # pygrep-hooks | ||
"PIE", # flake8-pie | ||
"PL", # pylint | ||
"PT", # flake8-pytest-style | ||
"PTH", # flake8-use-pathlib | ||
"RET", # flake8-return | ||
"RUF", # Ruff-specific | ||
"SIM", # flake8-simplify | ||
"T20", # flake8-print | ||
"UP", # pyupgrade | ||
"YTT", # flake8-2020 | ||
"EXE", # flake8-executable | ||
"NPY", # NumPy specific rules | ||
"PD", # pandas-vet | ||
"B", # flake8-bugbear | ||
"I", # isort | ||
"ARG", # flake8-unused-arguments | ||
"C4", # flake8-comprehensions | ||
"EM", # flake8-errmsg | ||
"ICN", # flake8-import-conventions | ||
"G", # flake8-logging-format | ||
"PGH", # pygrep-hooks | ||
"PIE", # flake8-pie | ||
"PL", # pylint | ||
"PT", # flake8-pytest-style | ||
"PTH", # flake8-use-pathlib | ||
"RET", # flake8-return | ||
"RUF", # Ruff-specific | ||
"SIM", # flake8-simplify | ||
"T20", # flake8-print | ||
"UP", # pyupgrade | ||
"YTT", # flake8-2020 | ||
"EXE", # flake8-executable | ||
"NPY", # NumPy specific rules | ||
"PD", # pandas-vet | ||
] | ||
ignore = [ | ||
"PLR09", # Too many <...> | ||
"PLR2004", # Magic value used in comparison | ||
"ISC001", # Conflicts with formatter | ||
"PLR09", # Too many <...> | ||
"PLR2004", # Magic value used in comparison | ||
"ISC001", # Conflicts with formatter | ||
] | ||
isort.required-imports = ["from __future__ import annotations"] | ||
# Uncomment if using a _compat.typing backport | ||
|
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