Add unit tests for calculator

This commit is contained in:
chris committed 2026-06-02 14:41:58 -04:00
1 parent 05bfcd65df
commit 2e854cbeb6
2227 files changed
+408232 -1

No files matched your search

@@ -0,0 +1,22 @@
== Flake8 License (MIT) ==
Copyright (C) 2011-2013 Tarek Ziade <tarek@ziade.org>
Copyright (C) 2012-2016 Ian Cordasco <graffatcolmingov@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,119 @@
Metadata-Version: 2.1
Name: flake8
Version: 7.3.0
Summary: the modular source code checker: pep8 pyflakes and co
Home-page: https://github.com/pycqa/flake8
Author: Tarek Ziade
Author-email: tarek@ziade.org
Maintainer: Ian Stapleton Cordasco
Maintainer-email: graffatcolmingov@gmail.com
License: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Framework :: Flake8
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: mccabe<0.8.0,>=0.7.0
Requires-Dist: pycodestyle<2.15.0,>=2.14.0
Requires-Dist: pyflakes<3.5.0,>=3.4.0
.. image:: https://github.com/PyCQA/flake8/workflows/main/badge.svg
:target: https://github.com/PyCQA/flake8/actions?query=workflow%3Amain
:alt: build status
.. image:: https://results.pre-commit.ci/badge/github/PyCQA/flake8/main.svg
:target: https://results.pre-commit.ci/latest/github/PyCQA/flake8/main
:alt: pre-commit.ci status
.. image:: https://img.shields.io/discord/825463413634891776.svg
:target: https://discord.gg/qYxpadCgkx
:alt: Discord
========
Flake8
========
Flake8 is a wrapper around these tools:
- PyFlakes
- pycodestyle
- Ned Batchelder's McCabe script
Flake8 runs all the tools by launching the single ``flake8`` command.
It displays the warnings in a per-file, merged output.
It also adds a few features:
- files that contain this line are skipped::
# flake8: noqa
- lines that contain a ``# noqa`` comment at the end will not issue warnings.
- you can ignore specific errors on a line with ``# noqa: <error>``, e.g.,
``# noqa: E234``. Multiple codes can be given, separated by comma. The ``noqa`` token is case insensitive, the colon before the list of codes is required otherwise the part after ``noqa`` is ignored
- Git and Mercurial hooks
- extendable through ``flake8.extension`` and ``flake8.formatting`` entry
points
Quickstart
==========
See our `quickstart documentation
<https://flake8.pycqa.org/en/latest/index.html#quickstart>`_ for how to install
and get started with Flake8.
Frequently Asked Questions
==========================
Flake8 maintains an `FAQ <https://flake8.pycqa.org/en/latest/faq.html>`_ in its
documentation.
Questions or Feedback
=====================
If you have questions you'd like to ask the developers, or feedback you'd like
to provide, feel free to use the mailing list: code-quality@python.org
We would love to hear from you. Additionally, if you have a feature you'd like
to suggest, the mailing list would be the best place for it.
Links
=====
* `Flake8 Documentation <https://flake8.pycqa.org/en/latest/>`_
* `GitHub Project <https://github.com/pycqa/flake8>`_
* `All (Open and Closed) Issues
<https://github.com/pycqa/flake8/issues?q=is%3Aissue>`_
* `Code-Quality Archives
<https://mail.python.org/mailman/listinfo/code-quality>`_
* `Code of Conduct
<https://flake8.pycqa.org/en/latest/internal/contributing.html#code-of-conduct>`_
* `Getting Started Contributing
<https://flake8.pycqa.org/en/latest/internal/contributing.html>`_
Maintenance
===========
Flake8 was created by Tarek Ziadé and is currently maintained by `anthony sottile
<https://github.com/sponsors/asottile>`_ and `Ian Cordasco
<https://www.coglib.com/~icordasc/>`_
@@ -0,0 +1,75 @@
../../../bin/flake8,sha256=FoJTzYaz4BBK12WmMhIs8bEvLiLXskJ5Gg5UFsQ2s5A,250
flake8-7.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
flake8-7.3.0.dist-info/LICENSE,sha256=5G355Zzr--CxRJLlzeNB6OxC0lKpm2pYP8RgiGOl2r4,1172
flake8-7.3.0.dist-info/METADATA,sha256=wuYh3RXlnqyIobVsLw2lvTKNXZV57AIdcCYGYoHMQdQ,3805
flake8-7.3.0.dist-info/RECORD,,
flake8-7.3.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
flake8-7.3.0.dist-info/WHEEL,sha256=qUzzGenXXuJTzyjFah76kDVqDvnk-YDzY00svnrl84w,109
flake8-7.3.0.dist-info/entry_points.txt,sha256=DL_4PPVWWudFtPjS-7AX_wtyFGt0Y9VN0KvNjCejS7s,422
flake8-7.3.0.dist-info/top_level.txt,sha256=6Tlo_i7chAhjqQkybdwPfClaqi0-dkJh_2o1PSn1aBM,7
flake8/__init__.py,sha256=oSIIIRdtdw4u8BDJxdkzW4sVgB2UIXqQ19tYIUP07Ks,1943
flake8/__main__.py,sha256=lkxpQWWXjApgesUxZVYW3xTGTT9u0lj2DpFeQO1-dWs,178
flake8/__pycache__/__init__.cpython-312.pyc,,
flake8/__pycache__/__main__.cpython-312.pyc,,
flake8/__pycache__/_compat.cpython-312.pyc,,
flake8/__pycache__/checker.cpython-312.pyc,,
flake8/__pycache__/defaults.cpython-312.pyc,,
flake8/__pycache__/discover_files.cpython-312.pyc,,
flake8/__pycache__/exceptions.cpython-312.pyc,,
flake8/__pycache__/processor.cpython-312.pyc,,
flake8/__pycache__/statistics.cpython-312.pyc,,
flake8/__pycache__/style_guide.cpython-312.pyc,,
flake8/__pycache__/utils.cpython-312.pyc,,
flake8/__pycache__/violation.cpython-312.pyc,,
flake8/_compat.py,sha256=1D_azjYP3Bulb4qt8BHRnzPo-VjvMx81jLc7CZ8Ey0o,597
flake8/api/__init__.py,sha256=xgaqH5ehF5EeZ6I35bP5uj9OzASv9a4AcFNHxB4oXuQ,241
flake8/api/__pycache__/__init__.cpython-312.pyc,,
flake8/api/__pycache__/legacy.cpython-312.pyc,,
flake8/api/legacy.py,sha256=U2czkZScuVhnMJ9MzDBlng4qfg9LGsEI0vjosXvrXPY,6898
flake8/checker.py,sha256=DvYImOnKzCSYcQG0iu8Jy5W_OXhvitFNsaUHygxCNZI,22779
flake8/defaults.py,sha256=al0IFZ6rOdIva_XgueGGGqdMaf9fTtHwlY3dsAd_2Fo,1109
flake8/discover_files.py,sha256=VaJ3ysdbUhPH1m3g5i1Vn08SzIPKnzs8_t25zL_V3F4,2575
flake8/exceptions.py,sha256=klokjovJklHojNwn-NFTlMp_PEVLMAYXzc9umIQ-bI8,2393
flake8/formatting/__init__.py,sha256=GeU-7Iwf3TnGHiGdt3ksVMbbs6a6xa2f3k9wkqY-6WA,97
flake8/formatting/__pycache__/__init__.cpython-312.pyc,,
flake8/formatting/__pycache__/_windows_color.cpython-312.pyc,,
flake8/formatting/__pycache__/base.cpython-312.pyc,,
flake8/formatting/__pycache__/default.cpython-312.pyc,,
flake8/formatting/_windows_color.py,sha256=Z0z0fsKONjmb9Z15D8BCdBGm9nJ5amfvCBdsy1FVO1s,2022
flake8/formatting/base.py,sha256=CdEVQBWYpEyV9NxarXFvcMpopmADT4LMv2dWlmPwSwU,7356
flake8/formatting/default.py,sha256=ubZCBQswdz-cq661BMzHRCIU5yGpeGo_5kKqmhqPVXs,3057
flake8/main/__init__.py,sha256=mr4YPJVODVERm_0nz7smskE1RuVopp1LS7N-BFVGwuk,98
flake8/main/__pycache__/__init__.cpython-312.pyc,,
flake8/main/__pycache__/application.cpython-312.pyc,,
flake8/main/__pycache__/cli.cpython-312.pyc,,
flake8/main/__pycache__/debug.cpython-312.pyc,,
flake8/main/__pycache__/options.cpython-312.pyc,,
flake8/main/application.py,sha256=yyn8DGJiKg_9ZDfNn2Fo6njQCnWbracl_U3ICbgFRN4,7958
flake8/main/cli.py,sha256=L8KfBy5AKgAi37IIao2BMd37GfSjpttj2KN1iZJ3T70,608
flake8/main/debug.py,sha256=Wcn1ENm_xrCopsv8_w744kt-5wcA5czo4kyW18MBjrw,911
flake8/main/options.py,sha256=Dl-7_GubDoeGj1UNb5KDZk4qwTpDpN-etp-Z3U9mp00,11008
flake8/options/__init__.py,sha256=cpxQPjG8gcBygJ4CB8bRgDhShPncwOT5Zq535479B00,496
flake8/options/__pycache__/__init__.cpython-312.pyc,,
flake8/options/__pycache__/aggregator.cpython-312.pyc,,
flake8/options/__pycache__/config.cpython-312.pyc,,
flake8/options/__pycache__/manager.cpython-312.pyc,,
flake8/options/__pycache__/parse_args.cpython-312.pyc,,
flake8/options/aggregator.py,sha256=aSBpKP8J0KmqsoylKE-fG709zEkQA2sIZ66sT3OUgww,1972
flake8/options/config.py,sha256=Oj-OO89ZbNQtFUHcHDZ24xeIT2gTfAXrcut2cneVhz4,4572
flake8/options/manager.py,sha256=xd4xoHJurOxr_nlni3UqW5V9Uf7xcixnik1-k4E9Npo,11534
flake8/options/parse_args.py,sha256=BDZopPAGcSterch6zZLkP_Z48u0OzYQ9wGZcqaxwR1k,2171
flake8/plugins/__init__.py,sha256=9EaF2MX-tp9U9byByvmF05RsggH041H6yPH31Q4O-lc,92
flake8/plugins/__pycache__/__init__.cpython-312.pyc,,
flake8/plugins/__pycache__/finder.cpython-312.pyc,,
flake8/plugins/__pycache__/pycodestyle.cpython-312.pyc,,
flake8/plugins/__pycache__/pyflakes.cpython-312.pyc,,
flake8/plugins/__pycache__/reporter.cpython-312.pyc,,
flake8/plugins/finder.py,sha256=HPvXPWOh0RHtiMR6X0Lx9Od7WQUjZr0jfdId2ejThDY,11124
flake8/plugins/pycodestyle.py,sha256=XSCIhIrpTZy9qm_7iVi2a1IW2su8zmABz9To4Z87UgQ,5665
flake8/plugins/pyflakes.py,sha256=DGCSL5hOQVOLk4IedrWdmXccBbGxeu-i74BSmTij7PU,3893
flake8/plugins/reporter.py,sha256=0jr3UKehzAakdX9sx-Z8t0hAcKPGtTTwNh4hdijKqgE,1241
flake8/processor.py,sha256=tBTyhj4GNCFcYlt39s94yQQRZH68lF4ex2FTKAcwlFc,16856
flake8/statistics.py,sha256=wf7j0j0Ve5UPNBlMCdmJuIQKl0ZHU5y86tOET19AX10,4355
flake8/style_guide.py,sha256=MytZ0QnWQ9AQ80EerDG6_x0sbL6RJ5HAbsaLVYZrbA0,14346
flake8/utils.py,sha256=0LsB48sRgGlsJKcm5qJB2HI1DO3pHprmmemxRnjAGAs,8173
flake8/violation.py,sha256=qyoU_lxzh3lXQW-gZUHTEiySIOrRqKD4iZlQsaQBj1E,2035
Whitespace-only changes.
@@ -0,0 +1,6 @@
Wheel-Version: 1.0
Generator: setuptools (74.1.2)
Root-Is-Purelib: true
Tag: py2-none-any
Tag: py3-none-any
@@ -0,0 +1,13 @@
[console_scripts]
flake8 = flake8.main.cli:main
[flake8.extension]
E = flake8.plugins.pycodestyle:pycodestyle_logical
F = flake8.plugins.pyflakes:FlakesChecker
W = flake8.plugins.pycodestyle:pycodestyle_physical
[flake8.report]
default = flake8.formatting.default:Default
pylint = flake8.formatting.default:Pylint
quiet-filename = flake8.formatting.default:FilenameOnly
quiet-nothing = flake8.formatting.default:Nothing