Update to crytic-compile b0a1b268e230320dea78c79ee7dd34cced37c0b0

pull/376/head
Josselin 5 years ago
parent 3e1f0d0a2f
commit 7832ac7a6c
  1. 5
      setup.py
  2. 6
      slither/utils/command_line.py

@ -10,8 +10,9 @@ setup(
python_requires='>=3.6', python_requires='>=3.6',
install_requires=['prettytable>=0.7.2', install_requires=['prettytable>=0.7.2',
'pysha3>=1.0.2', 'pysha3>=1.0.2',
'crytic-compile>=0.1.5'], #'crytic-compile>=0.1.5'],
# dependency_links=['git+https://github.com/crytic/crytic-compile.git@master#egg=crytic-compile'], 'crytic-compile'],
dependency_links=['git+https://github.com/crytic/crytic-compile.git@master#egg=crytic-compile'],
license='AGPL-3.0', license='AGPL-3.0',
long_description=open('README.md').read(), long_description=open('README.md').read(),
entry_points={ entry_points={

@ -1,11 +1,9 @@
import os
import logging
import json import json
import os import os
import logging import logging
from collections import defaultdict from collections import defaultdict
from prettytable import PrettyTable from prettytable import PrettyTable
from crytic_compile.cryticparser.defaults import defaults_flag_in_config as defaults_flag_in_config_crytic_compile from crytic_compile.cryticparser.defaults import DEFAULTS_FLAG_IN_CONFIG as DEFAULTS_FLAG_IN_CONFIG_CRYTIC_COMPILE
from slither.detectors.abstract_detector import classification_txt from slither.detectors.abstract_detector import classification_txt
from .colors import yellow, red from .colors import yellow, red
@ -35,7 +33,7 @@ defaults_flag_in_config = {
# debug command # debug command
'legacy_ast': False, 'legacy_ast': False,
'ignore_return_value': False, 'ignore_return_value': False,
**defaults_flag_in_config_crytic_compile **DEFAULTS_FLAG_IN_CONFIG_CRYTIC_COMPILE
} }
def read_config_file(args): def read_config_file(args):

Loading…
Cancel
Save