Skip to content

Commit

Permalink
move configs setup.cfg -> pyproject.toml (#758)
Browse files Browse the repository at this point in the history
* move configs `setup.cfg` -> `pyproject.toml`

* Update pyproject.toml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Spelling is hard

---------

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 21, 2023
1 parent d05eadb commit 7d8d8ae
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Migration to pyproject.toml is in progress

# distutils is deprecated and removed in Python 3.12.
# This block can be removed after the build parameters are added to this file
[tool.distutils.bdist_wheel]
universal = true

# Example configuration for Black.

# NOTE: you have to use single-quoted strings in TOML for regular expressions.
Expand Down Expand Up @@ -30,6 +37,23 @@ exclude = '''
skip-string-normalization = true


[tool.coverage.run]
branch = false

[tool.coverage.report]
exclude_lines = [
"if self.debug:",
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
omit = [
"papermill/tests/*",
"papermill/version.py"
]


[tool.codespell]
quiet-level = 3
# comma separated list of words; waiting for:
Expand Down
21 changes: 0 additions & 21 deletions setup.cfg

This file was deleted.

0 comments on commit 7d8d8ae

Please sign in to comment.