Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/docker/setup-qemu-…
Browse files Browse the repository at this point in the history
…action-2.0.0
  • Loading branch information
jpivarski committed May 7, 2022
2 parents 2111bd7 + 827fe5c commit 84a5acb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repos:
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear, flake8-print]
additional_dependencies: [flake8-bugbear, flake8-print>=5]

- repo: https://github.com/mgedmin/check-manifest
rev: "0.48"
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ filterwarnings = [
"error",
"ignore:the imp module is deprecated in favour of importlib:DeprecationWarning", # move to importlib to fix (setuptools issue)
"ignore:The NumPy module was reloaded:UserWarning",
"ignore:.*np\\.MachAr.*:DeprecationWarning", # until https://github.com/numba/numba/issues/7758 is fixed
]
log_cli_level = "info"

Expand Down
4 changes: 2 additions & 2 deletions src/awkward/_connect/_numba/arrayview.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

def code_to_function(code, function_name, externals=None, debug=False):
if debug:
print("################### " + function_name) # noqa: T001
print(code) # noqa: T001
print("################### " + function_name) # noqa: T201
print(code) # noqa: T201
namespace = {} if externals is None else dict(externals)
exec(code, namespace)
return namespace[function_name]
Expand Down
4 changes: 2 additions & 2 deletions src/awkward/_v2/_connect/numba/arrayview.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

def code_to_function(code, function_name, externals=None, debug=False):
if debug:
print("################### " + function_name) # noqa: T001
print(code) # noqa: T001
print("################### " + function_name) # noqa: T201
print(code) # noqa: T201
namespace = {} if externals is None else dict(externals)
exec(code, namespace)
return namespace[function_name]
Expand Down
99 changes: 0 additions & 99 deletions src/awkward/config.py

This file was deleted.

0 comments on commit 84a5acb

Please sign in to comment.