Repository: plannigan/columbo (language: python)

Issue:
 Move tool configuration into pyproject.toml
Resolves #184 


Discussion / hints:
# [Codecov](https://codecov.io/gh/wayfair-incubator/columbo/pull/223?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wayfair-incubator) Report
> Merging [#223](https://codecov.io/gh/wayfair-incubator/columbo/pull/223?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wayfair-incubator) (f90966e) into [main](https://codecov.io/gh/wayfair-incubator/columbo/commit/f7b03b7926ccb9dbebc4f5c5bda7bcf61be0cbec?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wayfair-incubator) (f7b03b7) will **not change** coverage.
> The diff coverage is `n/a`.


```diff
@@           Coverage Diff           @@
##             main     #223   +/-   ##
=======================================
  Coverage   96.82%   96.82%           
=======================================
  Files           6        6           
  Lines         347      347           
  Branches       41       41           
=======================================
  Hits          336      336           
  Misses          9        9           
  Partials        2        2           
```


Can you break this down into one pull request per tool? It is easier to review and verify that things are correct when only one thing is changing at a time.
> Can you break this down into one pull request per tool? It is easier to review and verify that things are correct when only one thing is changing at a time.

Sure

Fix patch:
diff --git a/pyproject.toml b/pyproject.toml
index bae88315..a0a1b9fb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -25,6 +25,10 @@ line_length=88
 multi_line_output=3
 include_trailing_comma=true
 
+[tool.pytest.ini_options]
+addopts = "--verbose --cov=columbo --cov-report xml:/tmp/coverage.xml --cov-report term-missing"
+python_files = "tests/*.py"
+
 [build-system]
 requires = ["setuptools >= 40.9.0", "wheel"]
 build-backend = "setuptools.build_meta"


Test patch:
diff --git a/pytest.ini b/pytest.ini
deleted file mode 100644
index 7c355727..00000000
--- a/pytest.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[pytest]
-addopts = --verbose --cov=columbo --cov-report xml:/tmp/coverage.xml --cov-report term-missing
-python_files = tests/*.py