forked from Pypperoni/pypperoni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
24 lines (21 loc) · 870 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright (c) Pypperoni
#
# Pypperoni is licensed under the MIT License; you may
# not use it except in compliance with the License.
#
# You should have received a copy of the License with
# this source code under the name "LICENSE.txt". However,
# you may obtain a copy of the License on our GitHub here:
# https://github.com/Pypperoni/pypperoni
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied. See the License for the specific
# language governing permissions and limitations under the
# License.
IMPORT_ALIASES = {}
def add_import_alias(name, alias):
IMPORT_ALIASES[name] = alias
MAX_FILE_SIZE = 250000 # 250kb
SPLIT_INTERVAL = 4000 # Split code objects every <SPLIT_INTERVAL> instructions