BUG: Throw ValueError when the format kwarg is passed to the HDFStore…
State: closed

… constructor

- [x] closes #13291
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry


Labels:
name: API Design
name: IO HDF5
description: read_hdf, HDFStore

Comments:
Hello @CianciuStyles! Thanks for submitting the PR.

 - There are no PEP8 issues in the file [`pandas/io/pytables.py`](https://github.com/CianciuStyles/pandas/blob/3359cfdd09c21d6a17e59403103a8f89dd336a0a/pandas/io/pytables.py) !

 - There are no PEP8 issues in the file [`pandas/tests/io/test_pytables.py`](https://github.com/CianciuStyles/pandas/blob/3359cfdd09c21d6a17e59403103a8f89dd336a0a/pandas/tests/io/test_pytables.py) !


# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=h1) Report
> Merging [#24155](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/fc64ca869670d24af46b5e017baba88fdd5e9532?src=pr&el=desc) will **increase** coverage by `<.01%`.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/24155/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #24155      +/-   ##
==========================================
+ Coverage    92.2%    92.2%   +<.01%     
==========================================
  Files         162      162              
  Lines       51700    51702       +2     
==========================================
+ Hits        47670    47672       +2     
  Misses       4030     4030
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.6% <50%> (-0.01%)` | :arrow_down: |
| #single | `43.02% <100%> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/io/pytables.py](https://codecov.io/gh/pandas-dev/pandas/pull/24155/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL3B5dGFibGVzLnB5) | `92.31% <100%> (ø)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=footer). Last update [fc64ca8...3359cfd](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=h1) Report
> Merging [#24155](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/0ac1197c0597d2d55b1ebf0a245c31bc1fa38e19?src=pr&el=desc) will **increase** coverage by `<.01%`.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/24155/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #24155      +/-   ##
==========================================
+ Coverage   92.21%   92.21%   +<.01%     
==========================================
  Files         162      162              
  Lines       51721    51723       +2     
==========================================
+ Hits        47692    47694       +2     
  Misses       4029     4029
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.61% <50%> (-0.01%)` | :arrow_down: |
| #single | `43.03% <100%> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/io/pytables.py](https://codecov.io/gh/pandas-dev/pandas/pull/24155/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL3B5dGFibGVzLnB5) | `92.31% <100%> (ø)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=footer). Last update [0ac1197...fedddcf](https://codecov.io/gh/pandas-dev/pandas/pull/24155?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

looks ok, ping when pushed / green.
lgtm. ping on green.
Hello Jeff, it looks like everything is green now.
thans @CianciuStyles