Skip to content

Commit

Permalink
Add 'numba/' from commit '0474485a1742d5ff4e273a057e4e8846ddc32409'
Browse files Browse the repository at this point in the history
git-subtree-dir: numba
git-subtree-mainline: dc248b3
git-subtree-split: 0474485
  • Loading branch information
DrTodd13 committed Aug 26, 2021
2 parents dc248b3 + 0474485 commit 56a6e7c
Show file tree
Hide file tree
Showing 925 changed files with 311,124 additions and 0 deletions.
22 changes: 22 additions & 0 deletions numba/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# configuration file used by run_coverage.py
[run]
branch = True
source = numba
concurrency = multiprocessing
parallel = True

[report]

omit =
*/__main__.py
# Vendored packages
numba/appdirs.py
numba/six.py
numba/testing/ddt.py
numba/_version.py

exclude_lines =
pragma: no cover
if __name__ == .__main__.:

[html]
305 changes: 305 additions & 0 deletions numba/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,305 @@
[flake8]
ignore =
E20, # Extra space in brackets
E231,E241, # Multiple spaces around ","
E26, # Comments
E731, # Assigning lambda expression
E741, # Ambiguous variable names
W503, # line break before binary operator
W504, # line break after binary operator
max-line-length = 80

exclude =
__pycache__
.git
*.pyc
*~
*.o
*.so
*.cpp
*.c
*.h
__init__.py
# Grandfather in existing failing files. This list should shrink over time
numba/stencils/stencil.py
numba/core/transforms.py
numba/core/tracing.py
numba/core/withcontexts.py
numba/_version.py
numba/core/inline_closurecall.py
numba/core/ir_utils.py
numba/core/pylowering.py
numba/python_utils.py
numba/parfors/parfor.py
numba/misc/numba_entry.py
numba/stencils/stencilparfor.py
numba/core/ir.py
numba/core/itanium_mangler.py
numba/core/generators.py
numba/misc/appdirs.py
numba/core/caching.py
numba/core/debuginfo.py
numba/core/annotations/pretty_annotate.py
numba/misc/dummyarray.py
numba/core/dataflow.py
numba/core/pythonapi.py
numba/core/decorators.py
numba/core/typeconv/typeconv.py
numba/core/typeconv/rules.py
numba/core/typeconv/castgraph.py
numba/core/rewrites/registry.py
numba/core/rewrites/macros.py
numba/core/rewrites/static_binop.py
numba/core/rewrites/ir_print.py
numba/core/types/abstract.py
numba/core/types/misc.py
numba/core/types/npytypes.py
numba/core/types/common.py
numba/core/types/iterators.py
numba/core/types/scalars.py
numba/core/fastmathpass.py
numba/cpython/setobj.py
numba/core/options.py
numba/cpython/printimpl.py
numba/cpython/cmathimpl.py
numba/cpython/tupleobj.py
numba/cpython/mathimpl.py
numba/core/registry.py
numba/core/imputils.py
numba/cpython/builtins.py
numba/core/cpu.py
numba/misc/quicksort.py
numba/core/callconv.py
numba/cpython/randomimpl.py
numba/np/npyimpl.py
numba/cpython/slicing.py
numba/cpython/numbers.py
numba/cpython/listobj.py
numba/core/removerefctpass.py
numba/core/boxing.py
numba/misc/cffiimpl.py
numba/np/linalg.py
numba/cpython/rangeobj.py
numba/np/npyfuncs.py
numba/cpython/iterators.py
numba/core/codegen.py
numba/np/polynomial.py
numba/misc/mergesort.py
numba/core/base.py
numba/np/npdatetime.py
numba/pycc/cc.py
numba/pycc/compiler.py
numba/pycc/llvm_types.py
numba/pycc/platform.py
numba/pycc/decorators.py
numba/core/runtime/nrtdynmod.py
numba/core/runtime/context.py
numba/tests/test_support.py
numba/tests/test_llvm_version_check.py
numba/tests/test_builtins.py
numba/tests/test_jitmethod.py
numba/tests/test_inlining.py
numba/tests/test_array_manipulation.py
numba/tests/test_dummyarray.py
numba/tests/test_smart_array.py
numba/tests/test_linalg.py
numba/tests/test_threadsafety.py
numba/tests/test_utils.py
numba/tests/cfunc_cache_usecases.py
numba/tests/enum_usecases.py
numba/tests/test_func_lifetime.py
numba/tests/test_typeinfer.py
numba/tests/test_return_values.py
numba/tests/test_mangling.py
numba/tests/test_npdatetime.py
numba/tests/test_fancy_indexing.py
numba/tests/support.py
numba/tests/test_print.py
numba/tests/test_debug.py
numba/tests/test_interproc.py
numba/tests/test_typeconv.py
numba/tests/test_tracing.py
numba/tests/usecases.py
numba/tests/test_vectorization_type_inference.py
numba/tests/matmul_usecase.py
numba/tests/complex_usecases.py
numba/tests/test_array_exprs.py
numba/tests/test_polynomial.py
numba/tests/test_wrapper.py
numba/tests/test_obj_lifetime.py
numba/tests/test_intwidth.py
numba/tests/test_remove_dead.py
numba/tests/serialize_usecases.py
numba/tests/test_del.py
numba/tests/test_gil.py
numba/tests/cffi_usecases.py
numba/tests/test_slices.py
numba/tests/test_mandelbrot.py
numba/tests/compile_with_pycc.py
numba/tests/test_deprecations.py
numba/tests/test_looplifting.py
numba/tests/test_storeslice.py
numba/tests/recursion_usecases.py
numba/tests/dummy_module.py
numba/tests/test_operators.py
numba/tests/test_comprehension.py
numba/tests/ctypes_usecases.py
numba/tests/test_locals.py
numba/tests/test_dicts.py
numba/tests/test_optional.py
numba/tests/test_mathlib.py
numba/tests/test_numberctor.py
numba/tests/test_globals.py
numba/tests/test_typingerror.py
numba/tests/test_object_mode.py
numba/tests/test_copy_propagate.py
numba/tests/test_ctypes.py
numba/tests/test_typeof.py
numba/tests/test_usecases.py
numba/tests/test_auto_constants.py
numba/tests/test_cffi.py
numba/tests/test_sort.py
numba/tests/test_cfunc.py
numba/tests/test_conversion.py
numba/tests/test_indexing.py
numba/tests/test_pycc.py
numba/tests/annotation_usecases.py
numba/tests/test_extended_arg.py
numba/tests/test_alignment.py
numba/tests/test_multi3.py
numba/tests/test_overlap.py
numba/tests/test_array_attr.py
numba/tests/test_array_methods.py
numba/tests/test_enums.py
numba/tests/test_profiler.py
numba/tests/test_numpyadapt.py
numba/tests/test_stencils.py
numba/tests/test_annotations.py
numba/tests/cache_usecases.py
numba/tests/true_div_usecase.py
numba/tests/test_dataflow.py
numba/tests/test_tuples.py
numba/tests/test_svml.py
numba/tests/test_array_iterators.py
numba/tests/test_buffer_protocol.py
numba/tests/test_casting.py
numba/tests/test_lists.py
numba/tests/test_blackscholes.py
numba/tests/test_array_analysis.py
numba/tests/test_serialize.py
numba/tests/test_iteration.py
numba/tests/test_runtests.py
numba/tests/test_recarray_usecases.py
numba/tests/test_target_overloadselector.py
numba/tests/test_compile_cache.py
numba/tests/test_array_reductions.py
numba/tests/test_dyn_func.py
numba/tests/test_unpack_sequence.py
numba/tests/test_cgutils.py
numba/tests/test_complex.py
numba/tests/test_hashing.py
numba/tests/test_itanium_mangler.py
numba/tests/test_sys_stdin_assignment.py
numba/tests/test_ufuncs.py
numba/tests/pdlike_usecase.py
numba/tests/test_range.py
numba/tests/test_nrt_refct.py
numba/misc/timsort.py
numba/tests/test_nested_calls.py
numba/tests/test_chained_assign.py
numba/tests/test_withlifting.py
numba/tests/test_parfors.py
numba/tests/test_sets.py
numba/tests/test_dyn_array.py
numba/tests/test_objects.py
numba/tests/test_random.py
numba/tests/test_nan.py
numba/tests/pycc_distutils_usecase/source_module.py
numba/tests/npyufunc/test_ufuncbuilding.py
numba/tests/npyufunc/test_errors.py
numba/tests/npyufunc/test_vectorize_decor.py
numba/tests/npyufunc/test_parallel_ufunc_issues.py
numba/tests/npyufunc/test_parallel_env_variable.py
numba/tests/npyufunc/test_gufunc.py
numba/core/typing/cmathdecl.py
numba/core/typing/bufproto.py
numba/core/typing/mathdecl.py
numba/core/typing/listdecl.py
numba/core/typing/builtins.py
numba/core/typing/randomdecl.py
numba/core/typing/setdecl.py
numba/core/typing/npydecl.py
numba/core/typing/arraydecl.py
numba/core/typing/collections.py
numba/core/typing/ctypes_utils.py
numba/core/typing/enumdecl.py
numba/core/typing/cffi_utils.py
numba/core/typing/npdatetime.py
numba/core/annotations/type_annotations.py
numba/roc/mathdecl.py
numba/roc/compiler.py
numba/roc/hsadecl.py
numba/roc/dispatch.py
numba/roc/hsaimpl.py
numba/roc/api.py
numba/roc/gcn_occupancy.py
numba/roc/stubs.py
numba/roc/vectorizers.py
numba/roc/decorators.py
numba/roc/hlc/config.py
numba/roc/hlc/common.py
numba/roc/hlc/hlc.py
numba/roc/hlc/libhlc.py
numba/roc/tests/hsapy/test_atomics.py
numba/roc/tests/hsapy/test_ufuncbuilding.py
numba/roc/tests/hsapy/test_autojit.py
numba/roc/tests/hsapy/test_intrinsics.py
numba/roc/tests/hsapy/test_simple.py
numba/roc/tests/hsapy/test_compiler.py
numba/roc/tests/hsapy/test_positioning.py
numba/roc/tests/hsapy/test_scan.py
numba/roc/tests/hsapy/test_reduction.py
numba/roc/tests/hsapy/test_memory.py
numba/roc/tests/hsapy/run_far_branch.py
numba/roc/tests/hsapy/test_math.py
numba/roc/tests/hsapy/test_large_code.py
numba/roc/tests/hsapy/test_occupancy.py
numba/roc/tests/hsadrv/test_driver.py
numba/roc/hsadrv/enums.py
numba/roc/hsadrv/error.py
numba/roc/hsadrv/enums_ext.py
numba/roc/hsadrv/drvapi.py
numba/roc/hsadrv/driver.py
numba/roc/hsadrv/devices.py
numba/roc/hsadrv/devicearray.py
numba/testing/ddt.py
numba/testing/loader.py
numba/testing/notebook.py
numba/testing/main.py
numba/np/unsafe/ndarray.py
numba/np/ufunc/deviceufunc.py
numba/np/ufunc/sigparse.py
numba/parfors/parfor_lowering.py
numba/np/ufunc/array_exprs.py
numba/np/ufunc/decorators.py
numba/roc/servicelib/service.py
numba/core/datamodel/models.py
numba/core/datamodel/packer.py
numba/core/datamodel/testing.py
numba/core/datamodel/manager.py

per-file-ignores =
# Ignore star imports, unused imports, and "may be defined by star imports"
# errors in device_init because its purpose is to bring together a lot of
# the public API to be star-imported in numba.cuda.__init__
numba/cuda/device_init.py:F401,F403,F405
# libdevice.py is an autogenerated file containing stubs for all the device
# functions. Some of the lines in docstrings are a little over-long, as they
# contain the URLs of the reference pages in the online libdevice
# documentation.
numba/cuda/libdevice.py:E501
# Ignore too-long lines in the CUDA doc examples, prioritising readability
# in the docs over line length in the example source (especially given that
# the test code is already indented by 8 spaces)
numba/cuda/tests/doc_examples/test_random.py:E501
numba/cuda/tests/doc_examples/test_cg.py:E501
1 change: 1 addition & 0 deletions numba/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
numba/_version.py export-subst
Loading

0 comments on commit 56a6e7c

Please sign in to comment.