forked from feder-observatory/stellarphot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop most of the indentation in pyproject
- Loading branch information
Showing
1 changed file
with
92 additions
and
93 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 |
---|---|---|
@@ -1,120 +1,119 @@ | ||
[build-system] | ||
requires = ["hatchling", | ||
"hatch-vcs"] | ||
build-backend = "hatchling.build" | ||
requires = ["hatchling", "hatch-vcs"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "stellarphot" | ||
dynamic = ["version"] | ||
description = "A package for performing stellar photometry." | ||
readme = "README.md" | ||
license = { file = "LICENSE.rst" } | ||
requires-python = ">=3.10" | ||
authors = [ | ||
{ name = "Matt Craig", email = "[email protected]" }, | ||
] | ||
dependencies = [ | ||
"astropy >=5", | ||
"astroquery", | ||
"astrowidgets", | ||
"bottleneck", | ||
"ccdproc", | ||
"ginga", | ||
"ipyautoui >=0.5.9", | ||
"ipyfilechooser", | ||
"ipywidgets", | ||
"matplotlib", | ||
"pandas", | ||
"photutils >=1.9", | ||
"pydantic<2", | ||
"pyyaml", | ||
] | ||
name = "stellarphot" | ||
dynamic = ["version"] | ||
description = "A package for performing stellar photometry." | ||
readme = "README.md" | ||
license = { file = "LICENSE.rst" } | ||
requires-python = ">=3.10" | ||
authors = [ | ||
{ name = "Matt Craig", email = "[email protected]" }, | ||
] | ||
dependencies = [ | ||
"astropy >=5", | ||
"astroquery", | ||
"astrowidgets", | ||
"bottleneck", | ||
"ccdproc", | ||
"ginga", | ||
"ipyautoui >=0.5.9", | ||
"ipyfilechooser", | ||
"ipywidgets", | ||
"matplotlib", | ||
"pandas", | ||
"photutils >=1.9", | ||
"pydantic<2", | ||
"pyyaml", | ||
] | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"sphinx", | ||
"sphinx-astropy", | ||
] | ||
exo_fitting = [ | ||
"batman-package", | ||
] | ||
test = [ | ||
"pytest", | ||
"pytest-astropy", | ||
] | ||
docs = [ | ||
"sphinx", | ||
"sphinx-astropy", | ||
] | ||
exo_fitting = [ | ||
"batman-package", | ||
] | ||
test = [ | ||
"pytest", | ||
"pytest-astropy", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/stellarphot/stellarphot" | ||
Homepage = "https://github.com/stellarphot/stellarphot" | ||
|
||
[tool.hatch.version] | ||
source = "vcs" | ||
|
||
[tool.hatch.build.hooks.vcs] | ||
version-file = "stellarphot/_version.py" | ||
version-file = "stellarphot/_version.py" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/stellarphot", | ||
] | ||
include = [ | ||
"/stellarphot", | ||
] | ||
|
||
[tool.coverage] | ||
|
||
[tool.coverage.run] | ||
source = ["stellarphot"] | ||
omit = [ | ||
"stellarphot/_astropy_init*", | ||
"stellarphot/conftest*", | ||
"stellarphot/setup_package*", | ||
"stellarphot/**/tests/*", | ||
"stellarphot/*version*", | ||
"stellarphot/**/__init__.py" | ||
] | ||
source = ["stellarphot"] | ||
omit = [ | ||
"stellarphot/_astropy_init*", | ||
"stellarphot/conftest*", | ||
"stellarphot/setup_package*", | ||
"stellarphot/**/tests/*", | ||
"stellarphot/*version*", | ||
"stellarphot/**/__init__.py" | ||
] | ||
|
||
[tool.coverage.report] | ||
exclude_lines = [ | ||
# Have to re-enable the standard pragma | ||
"pragma: no cover", | ||
# Don't complain about packages we have installed | ||
"except ImportError", | ||
# Don't complain if tests don't hit assertions | ||
"raise AssertionError", | ||
"raise NotImplementedError", | ||
# Don't complain about script hooks | ||
"def main(.*):", | ||
# Ignore branches that don't pertain to this version of Python | ||
"pragma: py{ignore_python_version}", | ||
] | ||
exclude_lines = [ | ||
# Have to re-enable the standard pragma | ||
"pragma: no cover", | ||
# Don't complain about packages we have installed | ||
"except ImportError", | ||
# Don't complain if tests don't hit assertions | ||
"raise AssertionError", | ||
"raise NotImplementedError", | ||
# Don't complain about script hooks | ||
"def main(.*):", | ||
# Ignore branches that don't pertain to this version of Python | ||
"pragma: py{ignore_python_version}", | ||
] | ||
|
||
[tool.flake8] | ||
# E101 - mix of tabs and spaces | ||
# W191 - use of tabs | ||
# W291 - trailing whitespace | ||
# W292 - no newline at end of file | ||
# W293 - trailing whitespace | ||
# W391 - blank line at end of file | ||
# E111 - 4 spaces per indentation level | ||
# E112 - 4 spaces per indentation level | ||
# E113 - 4 spaces per indentation level | ||
# E901 - SyntaxError or IndentationError | ||
# E902 - IOError | ||
select = "E101,W191,W291,W292,W293,W391,E111,E112,E113,E901,E902" | ||
exclude = "extern,sphinx,*parsetab.py,conftest.py,docs/conf.py,setup.py" | ||
# E101 - mix of tabs and spaces | ||
# W191 - use of tabs | ||
# W291 - trailing whitespace | ||
# W292 - no newline at end of file | ||
# W293 - trailing whitespace | ||
# W391 - blank line at end of file | ||
# E111 - 4 spaces per indentation level | ||
# E112 - 4 spaces per indentation level | ||
# E113 - 4 spaces per indentation level | ||
# E901 - SyntaxError or IndentationError | ||
# E902 - IOError | ||
select = "E101,W191,W291,W292,W293,W391,E111,E112,E113,E901,E902" | ||
exclude = "extern,sphinx,*parsetab.py,conftest.py,docs/conf.py,setup.py" | ||
|
||
[tool.pycodestyle] | ||
max-line-length = 100 | ||
# E101 - mix of tabs and spaces | ||
# W191 - use of tabs | ||
# W291 - trailing whitespace | ||
# W292 - no newline at end of file | ||
# W293 - trailing whitespace | ||
# W391 - blank line at end of file | ||
# E111 - 4 spaces per indentation level | ||
# E112 - 4 spaces per indentation level | ||
# E113 - 4 spaces per indentation level | ||
# E901 - SyntaxError or IndentationError | ||
# E902 - IOError | ||
select = "E101,W191,W291,W292,W293,W391,E111,E112,E113,E901,E902" | ||
exclude = "extern,sphinx,*parsetab.py,conftest.py,docs/conf.py,setup.py" | ||
max-line-length = 100 | ||
# E101 - mix of tabs and spaces | ||
# W191 - use of tabs | ||
# W291 - trailing whitespace | ||
# W292 - no newline at end of file | ||
# W293 - trailing whitespace | ||
# W391 - blank line at end of file | ||
# E111 - 4 spaces per indentation level | ||
# E112 - 4 spaces per indentation level | ||
# E113 - 4 spaces per indentation level | ||
# E901 - SyntaxError or IndentationError | ||
# E902 - IOError | ||
select = "E101,W191,W291,W292,W293,W391,E111,E112,E113,E901,E902" | ||
exclude = "extern,sphinx,*parsetab.py,conftest.py,docs/conf.py,setup.py" | ||
|
||
[tool.pytest.ini_options] | ||
minversion = 7.0 | ||
|