Skip to content

Commit

Permalink
Merge pull request #140 from IBM/fix/pyproject_toml
Browse files Browse the repository at this point in the history
Fix/pyproject toml
  • Loading branch information
Joao-L-S-Almeida authored Aug 28, 2024
2 parents e93ace1 + fd34cb1 commit 1d7b89b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
requires = [ "setuptools" ]
build-backend = 'setuptools.build_meta'

# It allows installation via `pip install -e`
[tool.setuptools]
py-modules = []
[tool.setuptools.packages.find]
include = ["terratorch*"]

[project]
name = "terratorch"
Expand All @@ -13,7 +12,7 @@ description = "TerraTorch - A model training toolkit for geospatial tasks"
license = { "text" = "Apache License, Version 2.0" }
readme = "README.md"
requires-python = ">=3.10"
keywords = ["fine-tuning", "geospatial foundation models", "artificial inteligence"]
keywords = ["fine-tuning", "geospatial foundation models", "artificial intelligence"]
authors = [
{ name = "Carlos Gomes", email = "[email protected]" },
{ name = "Joao Lucas de Sousa Almeida", email = "[email protected]"}
Expand Down Expand Up @@ -131,18 +130,18 @@ ban-relative-imports = "all"
# Tests can use magic values, assertions, and relative imports
"tests/**/*" = ["PLR2004", "S101", "TID252"]
# Tasks rely on torch lightning saving args to hparams dict
"src/terratorch/tasks/*" = ["ARG002"]
"terratorch/tasks/*" = ["ARG002"]

[tool.coverage.run]
source_pkgs = ["terratorch", "tests"]
branch = true
parallel = true
omit = [
"src/terratorch/__about__.py",
"terratorch/__about__.py",
]

[tool.coverage.paths]
terratorch = ["src/terratorch"]
terratorch = ["terratorch"]
tests = ["tests"]

[tool.coverage.report]
Expand Down

0 comments on commit 1d7b89b

Please sign in to comment.