10000 install mypy · rogelins/Clean-Code-in-Python@608dfec · GitHub
[go: up one dir, main page]

Skip to content

Commit 608dfec

Browse files
committed
install mypy
1 parent ed07808 commit 608dfec

File tree

1,147 files changed

+271820
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,147 files changed

+271820
-0
lines changed

.venv/bin/dmypy

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/home/rogerio/Documentos/Trybe_Exercicios/ciencia/book_clean_python/Clean-Code-in-Python/.venv/bin/python3
2+
# -*- coding: utf-8 -*-
3+
import re
4+
import sys
5+
from mypy.dmypy.client import console_entry
6+
if __name__ == '__main__':
7+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8+
sys.exit(console_entry())

.venv/bin/mypy

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/home/rogerio/Documentos/Trybe_Exercicios/ciencia/book_clean_python/Clean-Code-in-Python/.venv/bin/python3
2+
# -*- coding: utf-8 -*-
3+
import re
4+
import sys
5+
from mypy.__main__ import console_entry
6+
if __name__ == '__main__':
7+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8+
sys.exit(console_entry())

.venv/bin/mypyc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/home/rogerio/Documentos/Trybe_Exercicios/ciencia/book_clean_python/Clean-Code-in-Python/.venv/bin/python3
2+
# -*- coding: utf-8 -*-
3+
import re
4+
import sys
5+
from mypyc.__main__ import main
6+
if __name__ == '__main__':
7+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8+
sys.exit(main())

.venv/bin/stubgen

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/home/rogerio/Documentos/Trybe_Exercicios/ciencia/book_clean_python/Clean-Code-in-Python/.venv/bin/python3
2+
# -*- coding: utf-8 -*-
3+
import re
4+
import sys
5+
from mypy.stubgen import main
6+
if __name__ == '__main__':
7+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8+
sys.exit(main())

.venv/bin/stubtest

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/home/rogerio/Documentos/Trybe_Exercicios/ciencia/book_clean_python/Clean-Code-in-Python/.venv/bin/python3
2+
# -*- coding: utf-8 -*-
3+
import re
4+
import sys
5+
from mypy.stubtest import main
6+
if __name__ == '__main__':
7+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
8+
sys.exit(main())
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pip
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,229 @@
1+
Mypy (and mypyc) are licensed under the terms of the MIT license, reproduced below.
2+
3+
= = = = =
4+
5+
The MIT License
6+
7+
Copyright (c) 2012-2022 Jukka Lehtosalo and contributors
8+
Copyright (c) 2015-2022 Dropbox, Inc.
9+
10+
Permission is hereby granted, free of charge, to any person obtaining a
11+
copy of this software and associated documentation files (the "Software"),
12+
to deal in the Software without restriction, including without limitation
13+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
14+
and/or sell copies of the Software, and to permit persons to whom the
15+
Software is furnished to do so, subject to the following conditions:
16+
17+
The above copyright notice and this permission notice shall be included in
18+
all copies or substantial portions of the Software.
19+
20+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26+
DEALINGS IN THE SOFTWARE.
27+
28+
= = = = =
29+
30+
Portions of mypy and mypyc are licensed under different licenses.
31+
The files
32+
mypyc/lib-rt/pythonsupport.h, mypyc/lib-rt/getargs.c and
33+
mypyc/lib-rt/getargsfast.c are licensed under the PSF 2 License, reproduced
34+
below.
35+
36+
= = = = =
37+
38+
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
39+
--------------------------------------------
40+
41+
1. This LICENSE AGREEMENT is between the Python Software Foundation
42+
("PSF"), and the Individual or Organization ("Licensee") accessing and
43+
otherwise using this software ("Python") in source or binary form and
44+
its associated documentation.
45+
46+
2. Subject to the terms and conditions of this License Agreement, PSF hereby
47+
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
48+
analyze, test, perform and/or display publicly, prepare derivative works,
49+
distribute, and otherwise use Python alone or in any derivative version,
50+
provided, however, that PSF's License Agreement and PSF's notice of copyright,
51+
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
52+
2011, 2012 Python Software Foundation; All Rights Reserved" are retained in Python
53+
alone or in any derivative version prepared by Licensee.
54+
55+
3. In the event Licensee prepares a derivative work that is based on
56+
or incorporates Python or any part thereof, and wants to make
57+
the derivative work available to others as provided herein, then
58+
Licensee hereby agrees to include in any such work a brief summary of
59+
the changes made to Python.
60+
61+
4. PSF is making Python available to Licensee on an "AS IS"
62+
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
63+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
64+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
65+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
66+
INFRINGE ANY THIRD PARTY RIGHTS.
67+
68+
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
69+
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
70+
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
71+
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
72+
73+
6. This License Agreement will automatically terminate upon a material
74+
breach of its terms and conditions.
75+
76+
7. Nothing in this License Agreement shall be deemed to create any
77+
relationship of agency, partnership, or joint venture between PSF and
78+
Licensee. This License Agreement does not grant permission to use PSF
79+
trademarks or trade name in a trademark sense to endorse or promote
80+
products or services of Licensee, or any third party.
81+
82+
8. By copying, installing or otherwise using Python, Licensee
83+
agrees to be bound by the terms and conditions of this License
84+
Agreement.
85+
86+
87+
BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
88+
-------------------------------------------
89+
90+
BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
91+
92+
1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
93+
office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
94+
Individual or Organization ("Licensee") accessing and otherwise using
95+
this software in source or binary form and its associated
96+
documentation ("the Software").
97+
98+
2. Subject to the terms and conditions of this BeOpen Python License
99+
Agreement, BeOpen hereby grants Licensee a non-exclusive,
100+
royalty-free, world-wide license to reproduce, analyze, test, perform
101+
and/or display publicly, prepare derivative works, distribute, and
102+
otherwise use the Software alone or in any derivative version,
103+
provided, however, that the BeOpen Python License is retained in the
104+
Software, alone or in any derivative version prepared by Licensee.
105+
106+
3. BeOpen is making the Software available to Licensee on an "AS IS"
107+
basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
108+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
109+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
110+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
111+
INFRINGE ANY THIRD PARTY RIGHTS.
112+
113+
4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
114+
SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
115+
AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
116+
DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
117+
118+
5. This License Agreement will automatically terminate upon a material
119+
breach of its terms and conditions.
120+
121+
6. This License Agreement shall be governed by and interpreted in all
122+
respects by the law of the State of California, excluding conflict of
123+
law provisions. Nothing in this License Agreement shall be deemed to
124+
create any relationship of agency, partnership, or joint venture
125+
between BeOpen and Licensee. This License Agreement does not grant
126+
permission to use BeOpen trademarks or trade names in a trademark
F438
127+
sense to endorse or promote products or services of Licensee, or any
128+
third party. As an exception, the "BeOpen Python" logos available at
129+
http://www.pythonlabs.com/logos.html may be used according to the
130+
permissions granted on that web page.
131+
132+
7. By copying, installing or otherwise using the software, Licensee
133+
agrees to be bound by the terms and conditions of this License
134+
Agreement.
135+
136+
137+
CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
138+
---------------------------------------
139+
140+
1. This LICENSE AGREEMENT is between the Corporation for National
141+
Research Initiatives, having an office at 1895 Preston White Drive,
142+
Reston, VA 20191 ("CNRI"), and the Individual or Organization
143+
("Licensee") accessing and otherwise using Python 1.6.1 software in
144+
source or binary form and its associated documentation.
145+
146+
2. Subject to the terms and conditions of this License Agreement, CNRI
147+
hereby grants Licensee a nonexclusive, royalty-free, world-wide
148+
license to reproduce, analyze, test, perform and/or display publicly,
149+
prepare derivative works, distribute, and otherwise use Python 1.6.1
150+
alone or in any derivative version, provided, however, that CNRI's
151+
License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
152+
1995-2001 Corporation for National Research Initiatives; All Rights
153+
Reserved" are retained in Python 1.6.1 alone or in any derivative
154+
version prepared by Licensee. Alternately, in lieu of CNRI's License
155+
Agreement, Licensee may substitute the following text (omitting the
156+
quotes): "Python 1.6.1 is made available subject to the terms and
157+
conditions in CNRI's License Agreement. This Agreement together with
158+
Python 1.6.1 may be located on the Internet using the following
159+
unique, persistent identifier (known as a handle): 1895.22/1013. This
160+
Agreement may also be obtained from a proxy server on the Internet
161+
using the following URL: http://hdl.handle.net/1895.22/1013".
162+
163+
3. In the event Licensee prepares a derivative work that is based on
164+
or incorporates Python 1.6.1 or any part thereof, and wants to make
165+
the derivative work available to others as provided herein, then
166+
Licensee hereby agrees to include in any such work a brief summary of
167+
the changes made to Python 1.6.1.
168+
169+
4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
170+
basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
171+
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
172+
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
173+
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
174+
INFRINGE ANY THIRD PARTY RIGHTS.
175+
176+
5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
177+
1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
178+
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
179+
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
180+
181+
6. This License Agreement will automatically terminate upon a material
182+
breach of its terms and conditions.
183+
184+
7. This License Agreement shall be governed by the federal
185+
intellectual property law of the United States, including without
186+
limitation the federal copyright law, and, to the extent such
187+
U.S. federal law does not apply, by the law of the Commonwealth of
188+
Virginia, excluding Virginia's conflict of law provisions.
189+
Notwithstanding the foregoing, with regard to derivative works based
190+
on Python 1.6.1 that incorporate non-separable material that was
191+
previously distributed under the GNU General Public License (GPL), the
192+
law of the Commonwealth of Virginia shall govern this License
193+
Agreement only as to issues arising under or with respect to
194+
Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
195+
License Agreement shall be deemed to create any relationship of
196+
agency, partnership, or joint venture between CNRI and Licensee. This
197+
License Agreement does not grant permission to use CNRI trademarks or
198+
trade name in a trademark sense to endorse or promote products or
199+
services of Licensee, or any third party.
200+
201+
8. By clicking on the "ACCEPT" button where indicated, or by copying,
202+
installing or otherwise using Python 1.6.1, Licensee agrees to be
203+
bound by the terms and conditions of this License Agreement.
204+
205+
ACCEPT
206+
207+
208+
CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
209+
--------------------------------------------------
210+
211+
Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
212+
The Netherlands. All rights reserved.
213+
214+
Permission to use, copy, modify, and distribute this software and its
215+
documentation for any purpose and without fee is hereby granted,
216+
provided that the above copyright notice appear in all copies and that
217+
both that copyright notice and this permission notice appear in
218+
supporting documentation, and that the name of Stichting Mathematisch
219+
Centrum or CWI not be used in advertising or publicity pertaining to
220+
distribution of the software without specific, written prior
221+
permission.
222+
223+
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
224+
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
225+
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
226+
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
227+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
228+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
229+
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
Metadata-Version: 2.1
2+
Name: mypy
3+
Version: 1.1.1
4+
Summary: Optional static typing for Python
5+
Home-page: http://www.mypy-lang.org/
6+
Author: Jukka Lehtosalo
7+
Author-email: jukka.lehtosalo@iki.fi
8+
License: MIT License
9+
Project-URL: News, http://mypy-lang.org/news.html
10+
Project-URL: Documentation, https://mypy.readthedocs.io/en/stable/index.html
11+
Project-URL: Repository, https://github.com/python/mypy
12+
Classifier: Development Status :: 5 - Production/Stable
13+
Classifier: Environment :: Console
14+
Classifier: Intended Audience :: Developers
15+
Classifier: License :: OSI Approved :: MIT License
16+
Classifier: Programming Language :: Python :: 3
17+
Classifier: Programming Language :: Python :: 3.7
18+
Classifier: Programming Language :: Python :: 3.8
19+
Classifier: Programming Language :: Python :: 3.9
20+
Classifier: Programming Language :: Python :: 3.10
21+
Classifier: Programming Language :: Python :: 3.11
22+
Classifier: Topic :: Software Development
23+
Classifier: Typing :: Typed
24+
Requires-Python: >=3.7
25+
License-File: LICENSE
26+
Requires-Dist: typing-extensions (>=3.10)
27+
Requires-Dist: mypy-extensions (>=1.0.0)
28+
Requires-Dist: tomli (>=1.1.0) ; python_version < "3.11"
29+
Requires-Dist: typed-ast (<2,>=1.4.0) ; python_version < "3.8"
30+
Provides-Extra: dmypy
31+
Requires-Dist: psutil (>=4.0) ; extra == 'dmypy'
32+
Provides-Extra: install-types
33+
Requires-Dist: pip ; extra == 'install-types'
34+
Provides-Extra: python2
35+
Requires-Dist: typed-ast (<2,>=1.4.0) ; extra == 'python2'
36+
Provides-Extra: reports
37+
Requires-Dist: lxml ; extra == 'reports'
38+
39+
Mypy -- Optional Static Typing for Python
40+
=========================================
41+
42+
Add type annotations to your Python programs, and use mypy to type
43+
check them. Mypy is essentially a Python linter on steroids, and it
44+
can catch many programming errors by analyzing your program, without
45+
actually having to run it. Mypy has a powerful type system with
46+
features such as type inference, gradual typing, generics and union
47+
types.

0 commit comments

Comments
 (0)
0