Open lovemyliwu opened 5 years ago
This might just be a configuration issue. What does your .pyre_configuration
look like?
Ooops pushed the wrong button :(
@grievejia
smite:/tmp/inner_import>cat .pyre_configuration
{
"binary": "/usr/local/bin/pyre.bin",
"source_directories": [
"."
],
"typeshed": "/usr/local/lib/pyre_check/typeshed/"
}
Where is the definition or stub of the celery
module? Is it under your source directory, or does it come from somewhere else? If it's the latter, you need to add it to the search_path
configuration.
@grievejia After add search_path, result is the same.
smite:/tmp/inner_import>pyre --debug
No watchman binary found.
To enable pyre incremental, you can install watchman: https://facebook.github.io/watchman/docs/install.html
Defaulting to non-incremental check.
2019-08-12 10:28:54,200 DEBUG Reading configuration `.pyre_configuration`...
2019-08-12 10:28:54,200 DEBUG Found source_directories: `.`
2019-08-12 10:28:54,201 DEBUG Running `/usr/local/bin/pyre.bin check -debug -logging-sections parser -project-root /tmp/inner_import -filter-directories /tmp/inner_import -workers 1 -search-path /usr/local/lib/python3.6/dist-packages,/usr/local/lib/pyre_check/typeshed/stdlib/3.7,/usr/local/lib/pyre_check/typeshed/stdlib/3.6,/usr/local/lib/pyre_check/typeshed/stdlib/3.5,/usr/local/lib/pyre_check/typeshed/stdlib/3,/usr/local/lib/pyre_check/typeshed/stdlib/2and3,/usr/local/lib/pyre_check/typeshed/third_party/3.5,/usr/local/lib/pyre_check/typeshed/third_party/3,/usr/local/lib/pyre_check/typeshed/third_party/2and3 -exclude /.+/qtconsole/ .`
2019-08-12 10:28:54,527 INFO Parsing 5705 stubs and sources...
2019-08-12 10:28:55,960 ERROR Could not parse file at pylint/test/functional/exec_used_py2.py:3:23-3:23
exec 'a = __revision__' # [exec-used]
^
2019-08-12 10:28:57,415 ERROR Could not parse file at pylint/test/functional/syntax_error_jython.py:3:0-3:0
^
2019-08-12 10:28:58,682 ERROR Could not parse file at pylint/test/regrtest_data/bad_package/__init__.py:2:23-2:23
raise missing.Missing..
^
2019-08-12 10:28:59,655 ERROR Could not parse file at kombu/transport/base.py:18:72-18:72
RABBITMQ_QUEUE_ARGUMENTS = { # type: Mapping[str, Tuple[str, Callable]]
^
2019-08-12 10:29:00,122 ERROR Could not parse file at pylint/test/functional/redefine_in_handler.py:19:32-19:32
except KeyError, exceptions.RuntimeError: # [redefine-in-handler]
^
2019-08-12 10:29:00,354 ERROR Could not parse file at pylint/test/regrtest_data/syntax_error.py:1:15-1:15
class A extends B {}
^
2019-08-12 10:29:02,053 ERROR Could not parse file at pylint/test/functional/unpacked_exceptions.py:7:21-7:21
except IOError, (errno, message): # [unpacking-in-except]
^
2019-08-12 10:29:02,334 ERROR Could not parse file at astroid/tests/testdata/python2/data/module.py:70:14-70:14
exec a in b
^
2019-08-12 10:29:02,705 ERROR Could not parse file at astroid/tests/testdata/python2/data/module2.py:78:12-78:12
exec 'c = 3'
^
2019-08-12 10:29:03,860 ERROR Could not parse file at celery/utils/saferepr.py:211:0-211:0
# type: (deque, Set, int, int, Callable) -> Iterator[Any]
^
2019-08-12 10:29:04,605 ERROR Could not parse file at pylint/test/functional/syntax_error.py:3:0-3:0
^
2019-08-12 10:29:07,906 ERROR Could not parse file at pylint/test/input/func_w0122_py_30.py:5:23-5:23
exec 'a = __revision__'
^
2019-08-12 10:29:08,282 ERROR Could not parse file at pylint/test/input/func_w0332_py_30.py:4:17-4:17
__revision__ = 1l
^
2019-08-12 10:29:09,668 WARNING Could not parse 13 files due to syntax errors!
2019-08-12 10:29:09,768 PERFORMANCE Sources parsed: 15.230000s
2019-08-12 10:29:30,356 PERFORMANCE Registered ignores: 20.672000s
2019-08-12 10:29:30,358 INFO Adding environment information to shared memory...
2019-08-12 10:29:30,358 PERFORMANCE Added environment to shared memory: 0.001000s
2019-08-12 10:29:30,459 INFO Building type environment...
2019-08-12 10:29:58,726 PERFORMANCE Full environment built: 28.246000s
2019-08-12 10:29:59,361 MEMORY Shared memory size (size: 113)
2019-08-12 10:29:59,722 PERFORMANCE Filtered directories: 0.461000s
2019-08-12 10:29:59,723 INFO Checking 1 sources...
2019-08-12 10:29:59,760 INFO Running check `TypeCheck`...
2019-08-12 10:29:59,760 INFO Processed 1 of 1 sources
2019-08-12 10:29:59,761 PERFORMANCE Check_TypeCheck: 0.037000s
2019-08-12 10:29:59,761 MEMORY Shared memory size post-typecheck (size: 113)
2019-08-12 10:29:59,790 PERFORMANCE Analyzed sources: 0.037000s
2019-08-12 10:29:59,891 PERFORMANCE Postprocessed: 0.030000s
2019-08-12 10:30:07,755 PERFORMANCE Check: 73.454000s
(ALL cache hit rate) stats -- samples: 2.053M, total: 1.340M, avg: 0.652467, stddev: 0.476187, max: 1, min: 0)
ALL bytes allocated for deserialized value stats -- samples: 165.413K, total: 2.221G, avg: 13.424K, stddev: 86.859K, max: 11.189M, min: 0)
ALL bytes deserialized from shared heap stats -- samples: 165.413K, total: 44.933M, avg: 271.642090, stddev: 1.480K, max: 137.189K, min: 0)
ALL bytes saved in shared heap due to compression stats -- samples: 344.425K, total: 92.371M, avg: 268.189037, stddev: 3.623K, max: 1.207M, min: 0)
ALL bytes serialized into shared heap stats -- samples: 344.425K, total: 99.791M, avg: 289.732685, stddev: 2.294K, max: 548.756K, min: 3)
ALL bytes shared heap compression ratio stats -- samples: 344.425K, total: 314.666K, avg: 0.913599, stddev: 0.137253, max: 1, min: 0.077961)
AST (bytes allocated for deserialized value) stats -- samples: 22.769K, total: 2.034G, avg: 89.311K, stddev: 217.296K, max: 11.189M, min: 184)
AST (bytes deserialized from shared heap) stats -- samples: 22.769K, total: 39.881M, avg: 1.752K, stddev: 3.598K, max: 137.189K, min: 14)
AST (bytes saved in shared heap due to compression) stats -- samples: 5.692K, total: 52.059M, avg: 9.146K, stddev: 24.126K, max: 1.207M, min: 0)
AST (bytes serialized into shared heap) stats -- samples: 5.692K, total: 39.890M, avg: 7.008K, stddev: 14.391K, max: 548.756K, min: 59)
AST (shared heap compression ratio) stats -- samples: 5.692K, total: 3.131K, avg: 0.550110, stddev: 0.152436, max: 1, min: 0.171021)
Alias (bytes allocated for deserialized value) stats -- samples: 2.751K, total: 452.528K, avg: 164.495820, stddev: 425.334886, max: 7.656K, min: 16)
Alias (bytes deserialized from shared heap) stats -- samples: 2.751K, total: 32.668K, avg: 11.874955, stddev: 8.620877, max: 148, min: 5)
Alias (bytes saved in shared heap due to compression) stats -- samples: 34.950K, total: 20.576K, avg: 0.588727, stddev: 3.623261, max: 290, min: 0)
Alias (bytes serialized into shared heap) stats -- samples: 34.950K, total: 1.463M, avg: 41.852446, stddev: 17.948652, max: 592, min: 22)
Alias (shared heap compression ratio) stats -- samples: 34.950K, total: 34.450K, avg: 0.985700, stddev: 0.037078, max: 1, min: 0.500000)
Alias keys (bytes saved in shared heap due to compression) stats -- samples: 6.186K, total: 659.250K, avg: 106.571290, stddev: 220.532898, max: 4.986K, min: 0)
Alias keys (bytes serialized into shared heap) stats -- samples: 6.186K, total: 747.939K, avg: 120.908341, stddev: 108.786684, max: 2.970K, min: 31)
Alias keys (cache hit rate) stats -- samples: 35.644K, total: 28.767K, avg: 0.807064, stddev: 0.394603, max: 1, min: 0)
Alias keys (shared heap compression ratio) stats -- samples: 6.186K, total: 4.344K, avg: 0.702175, stddev: 0.216684, max: 1, min: 0.208443)
Backedges (bytes allocated for deserialized value) stats -- samples: 30.892K, total: 2.893M, avg: 93.637965, stddev: 2.801K, max: 273.808K, min: 0)
Backedges (bytes deserialized from shared heap) stats -- samples: 30.892K, total: 253.516K, avg: 8.206526, stddev: 71.610541, max: 6.374K, min: 5)
Backedges (bytes saved in shared heap due to compression) stats -- samples: 14.180K, total: 49.979K, avg: 3.524612, stddev: 320.144946, max: 37.361K, min: 0)
Backedges (bytes serialized into shared heap) stats -- samples: 14.180K, total: 452.257K, avg: 31.894006, stddev: 297.564704, max: 25.499K, min: 21)
Backedges (cache hit rate) stats -- samples: 116.003K, total: 42.559K, avg: 0.366878, stddev: 0.481953, max: 1, min: 0)
Backedges (shared heap compression ratio) stats -- samples: 14.180K, total: 14.172K, avg: 0.999405, stddev: 0.009209, max: 1, min: 0.386005)
Class (bytes allocated for deserialized value) stats -- samples: 5.374K, total: 144.757M, avg: 26.936K, stddev: 55.222K, max: 1.149M, min: 216)
Class (bytes deserialized from shared heap) stats -- samples: 5.374K, total: 2.915M, avg: 542.503349, stddev: 1.167K, max: 25.199K, min: 13)
Class (bytes saved in shared heap due to compression) stats -- samples: 14.178K, total: 34.624M, avg: 2.442K, stddev: 6.850K, max: 226.404K, min: 0)
Class (bytes serialized into shared heap) stats -- samples: 14.178K, total: 30.206M, avg: 2.131K, stddev: 4.591K, max: 127.768K, min: 43)
Class (cache hit rate) stats -- samples: 161.491K, total: 119.153K, avg: 0.737831, stddev: 0.439814, max: 1, min: 0)
Class (shared heap compression ratio) stats -- samples: 14.178K, total: 8.852K, avg: 0.624377, stddev: 0.146095, max: 1, min: 0.193478)
Class keys (bytes saved in shared heap due to compression) stats -- samples: 3.473K, total: 292.748K, avg: 84.292542, stddev: 285.771228, max: 11.188K, min: 0)
Class keys (bytes serialized into shared heap) stats -- samples: 3.473K, total: 370.077K, avg: 106.558307, stddev: 107.734510, max: 3.109K, min: 30)
Class keys (cache hit rate) stats -- samples: 14.150K, total: 10.677K, avg: 0.754558, stddev: 0.430349, max: 1, min: 0)
Class keys (shared heap compression ratio) stats -- samples: 3.473K, total: 2.715K, avg: 0.781723, stddev: 0.221183, max: 1, min: 0.203063)
Class metadata (bytes allocated for deserialized value) stats -- samples: 65, total: 7.920K, avg: 121.846154, stddev: 67.310813, max: 224, min: 40)
Class metadata (bytes deserialized from shared heap) stats -- samples: 65, total: 744.000000, avg: 11.446154, stddev: 5.372382, max: 20, min: 5)
Class metadata (bytes saved in shared heap due to compression) stats -- samples: 14.151K, total: 233.974K, avg: 16.534097, stddev: 31.654253, max: 379, min: 0)
Class metadata (bytes serialized into shared heap) stats -- samples: 14.151K, total: 1.110M, avg: 78.461169, stddev: 43.889973, max: 336, min: 22)
Class metadata (cache hit rate) stats -- samples: 14.907K, total: 1.712K, avg: 0.114845, stddev: 0.318835, max: 1, min: 0)
Class metadata (shared heap compression ratio) stats -- samples: 14.151K, total: 12.829K, avg: 0.906548, stddev: 0.121317, max: 1, min: 0.314346)
Coverage (bytes allocated for deserialized value) stats -- samples: 1, total: 48, avg: 48, stddev: 0, max: 48, min: 48)
Coverage (bytes deserialized from shared heap) stats -- samples: 1, total: 5, avg: 5, stddev: 0, max: 5, min: 5)
Coverage (bytes saved in shared heap due to compression) stats -- samples: 1, total: 3, avg: 3, stddev: 0, max: 3, min: 3)
Coverage (bytes serialized into shared heap) stats -- samples: 1, total: 23, avg: 23, stddev: 0, max: 23, min: 23)
Coverage (cache hit rate) stats -- samples: 5.692K, total: 0, avg: 0, stddev: 0, max: 0.000000, min: 0)
Coverage (shared heap compression ratio) stats -- samples: 1, total: 0.884615, avg: 0.884615, stddev: 0, max: 0.884615, min: 0.884615)
Dependent (bytes saved in shared heap due to compression) stats -- samples: 3.581K, total: 346.135K, avg: 96.658755, stddev: 717.067271, max: 28.828K, min: 0)
Dependent (bytes serialized into shared heap) stats -- samples: 3.581K, total: 569.851K, avg: 159.131807, stddev: 574.540639, max: 18.139K, min: 24)
Dependent (cache hit rate) stats -- samples: 28.570K, total: 23.848K, avg: 0.834722, stddev: 0.371432, max: 1, min: 0)
Dependent (shared heap compression ratio) stats -- samples: 3.581K, total: 3.103K, avg: 0.866636, stddev: 0.159739, max: 1, min: 0.309504)
Dependent keys (bytes saved in shared heap due to compression) stats -- samples: 4.828K, total: 120.746K, avg: 25.009528, stddev: 50.173237, max: 765, min: 0)
Dependent keys (bytes serialized into shared heap) stats -- samples: 4.828K, total: 469.106K, avg: 97.163629, stddev: 65.586631, max: 768, min: 25)
Dependent keys (cache hit rate) stats -- samples: 28.570K, total: 23.742K, avg: 0.831012, stddev: 0.374742, max: 1, min: 0)
Dependent keys (shared heap compression ratio) stats -- samples: 4.828K, total: 4.269K, avg: 0.884305, stddev: 0.146684, max: 1, min: 0.077961)
Edges (bytes allocated for deserialized value) stats -- samples: 55.634K, total: 4.272M, avg: 76.795629, stddev: 122.161870, max: 1.640K, min: 0)
Edges (bytes deserialized from shared heap) stats -- samples: 55.634K, total: 458.994K, avg: 8.250243, stddev: 5.441536, max: 68, min: 5)
Edges (bytes saved in shared heap due to compression) stats -- samples: 14.176K, total: 11.897K, avg: 0.839235, stddev: 5.486932, max: 102, min: 0)
Edges (bytes serialized into shared heap) stats -- samples: 14.176K, total: 474.598K, avg: 33.478979, stddev: 20.892352, max: 275, min: 21)
Edges (cache hit rate) stats -- samples: 372.747K, total: 200.225K, avg: 0.537161, stddev: 0.498617, max: 1, min: 0)
Edges (shared heap compression ratio) stats -- samples: 14.176K, total: 14.111K, avg: 0.995384, stddev: 0.027761, max: 1, min: 0.604520)
Function keys (bytes saved in shared heap due to compression) stats -- samples: 4.198K, total: 5.129K, avg: 1.221772, stddev: 2.584749, max: 22, min: 0)
Function keys (bytes serialized into shared heap) stats -- samples: 4.198K, total: 303.432K, avg: 72.280133, stddev: 15.683207, max: 144, min: 30)
Function keys (cache hit rate) stats -- samples: 66.086K, total: 61.888K, avg: 0.936477, stddev: 0.243902, max: 1, min: 0)
Function keys (shared heap compression ratio) stats -- samples: 4.198K, total: 4.137K, avg: 0.985355, stddev: 0.029818, max: 1, min: 0.780000)
Global (bytes allocated for deserialized value) stats -- samples: 1, total: 976, avg: 976, stddev: 0, max: 976, min: 976)
Global (bytes deserialized from shared heap) stats -- samples: 1, total: 38, avg: 38, stddev: 0, max: 38, min: 38)
Global (bytes saved in shared heap due to compression) stats -- samples: 96.705K, total: 785.485K, avg: 8.122486, stddev: 29.238002, max: 3.412K, min: 0)
Global (bytes serialized into shared heap) stats -- samples: 96.705K, total: 11.996M, avg: 124.047257, stddev: 94.896250, max: 12.192K, min: 38)
Global (cache hit rate) stats -- samples: 43.046K, total: 25.747K, avg: 0.598128, stddev: 0.490276, max: 1, min: 0)
Global (shared heap compression ratio) stats -- samples: 96.705K, total: 93.133K, avg: 0.963062, stddev: 0.063589, max: 1, min: 0.331361)
Global keys (bytes saved in shared heap due to compression) stats -- samples: 4.962K, total: 675.796K, avg: 136.194277, stddev: 390.899937, max: 14.131K, min: 0)
Global keys (bytes serialized into shared heap) stats -- samples: 4.962K, total: 2.237M, avg: 450.863966, stddev: 727.338714, max: 25.174K, min: 38)
Global keys (cache hit rate) stats -- samples: 96.717K, total: 91.755K, avg: 0.948696, stddev: 0.220618, max: 1, min: 0)
Global keys (shared heap compression ratio) stats -- samples: 4.962K, total: 4.303K, avg: 0.867098, stddev: 0.109087, max: 1, min: 0.462422)
Ignore (bytes saved in shared heap due to compression) stats -- samples: 112, total: 54, avg: 0.482143, stddev: 1.077217, max: 8, min: 0)
Ignore (bytes serialized into shared heap) stats -- samples: 112, total: 4.669K, avg: 41.687500, stddev: 3.627847, max: 54, min: 36)
Ignore (shared heap compression ratio) stats -- samples: 112, total: 110.660441, avg: 0.988040, stddev: 0.023968, max: 1, min: 0.870968)
Location list (bytes allocated for deserialized value) stats -- samples: 1, total: 0, avg: 0, stddev: 0, max: 0.000000, min: 0)
Location list (bytes deserialized from shared heap) stats -- samples: 1, total: 5, avg: 5, stddev: 0, max: 5, min: 5)
Location list (bytes saved in shared heap due to compression) stats -- samples: 5.692K, total: 482, avg: 0.084680, stddev: 1.833896, max: 68, min: 0)
Location list (bytes serialized into shared heap) stats -- samples: 5.692K, total: 120.645K, avg: 21.195538, stddev: 2.253574, max: 73, min: 21)
Location list (shared heap compression ratio) stats -- samples: 5.692K, total: 5.687K, avg: 0.999082, stddev: 0.017606, max: 1, min: 0.517730)
Mode (bytes allocated for deserialized value) stats -- samples: 1, total: 0, avg: 0, stddev: 0, max: 0.000000, min: 0)
Mode (bytes deserialized from shared heap) stats -- samples: 1, total: 5, avg: 5, stddev: 0, max: 5, min: 5)
Mode (bytes saved in shared heap due to compression) stats -- samples: 5.692K, total: 0, avg: 0, stddev: 0, max: 0.000000, min: 0)
Mode (bytes serialized into shared heap) stats -- samples: 5.692K, total: 119.532K, avg: 21, stddev: 0, max: 21, min: 21)
Mode (shared heap compression ratio) stats -- samples: 5.692K, total: 5.692K, avg: 1, stddev: 0, max: 1, min: 1)
Module (bytes allocated for deserialized value) stats -- samples: 10.494K, total: 33.472M, avg: 3.190K, stddev: 5.355K, max: 84.984K, min: 40)
Module (bytes deserialized from shared heap) stats -- samples: 10.494K, total: 1.141M, avg: 108.707452, stddev: 150.188434, max: 3.461K, min: 5)
Module (bytes saved in shared heap due to compression) stats -- samples: 11.386K, total: 1.734M, avg: 152.327244, stddev: 347.168860, max: 13.401K, min: 0)
Module (bytes serialized into shared heap) stats -- samples: 11.386K, total: 3.836M, avg: 336.893729, stddev: 427.757851, max: 13.845K, min: 22)
Module (cache hit rate) stats -- samples: 153.589K, total: 87.478K, avg: 0.569559, stddev: 0.495138, max: 1, min: 0)
Module (shared heap compression ratio) stats -- samples: 11.386K, total: 8.957K, avg: 0.786651, stddev: 0.133226, max: 1, min: 0.193277)
Node type resolution (bytes saved in shared heap due to compression) stats -- samples: 1, total: 0, avg: 0, stddev: 0, max: 0.000000, min: 0)
Node type resolution (bytes serialized into shared heap) stats -- samples: 1, total: 51, avg: 51, stddev: 0, max: 51, min: 51)
Node type resolution (shared heap compression ratio) stats -- samples: 1, total: 1, avg: 1, stddev: 0, max: 1, min: 1)
Node type resolution keys (bytes saved in shared heap due to compression) stats -- samples: 1, total: 0, avg: 0, stddev: 0, max: 0.000000, min: 0)
Node type resolution keys (bytes serialized into shared heap) stats -- samples: 1, total: 48, avg: 48, stddev: 0, max: 48, min: 48)
Node type resolution keys (shared heap compression ratio) stats -- samples: 1, total: 1, avg: 1, stddev: 0, max: 1, min: 1)
Order annotations (bytes allocated for deserialized value) stats -- samples: 14.398K, total: 737.184K, avg: 51.200445, stddev: 14.963760, max: 136, min: 16)
Order annotations (bytes deserialized from shared heap) stats -- samples: 14.398K, total: 131.633K, avg: 9.142450, stddev: 3.538223, max: 28, min: 0)
Order annotations (bytes saved in shared heap due to compression) stats -- samples: 14.159K, total: 9.642K, avg: 0.680980, stddev: 2.225160, max: 21, min: 0)
Order annotations (bytes serialized into shared heap) stats -- samples: 14.159K, total: 542.201K, avg: 38.293735, stddev: 14.004024, max: 115, min: 3)
Order annotations (cache hit rate) stats -- samples: 151.490K, total: 93.188K, avg: 0.615143, stddev: 0.486562, max: 1, min: 0)
Order annotations (shared heap compression ratio) stats -- samples: 14.159K, total: 13.972K, avg: 0.986764, stddev: 0.041972, max: 1, min: 0.682540)
Order indices (bytes allocated for deserialized value) stats -- samples: 20.979K, total: 0, avg: 0, stddev: 0, max: 0.000000, min: 0)
Order indices (bytes deserialized from shared heap) stats -- samples: 20.979K, total: 83.916K, avg: 4, stddev: 0, max: 4, min: 4)
Order indices (bytes saved in shared heap due to compression) stats -- samples: 14.159K, total: 99.113K, avg: 7, stddev: 0, max: 7, min: 7)
Order indices (bytes serialized into shared heap) stats -- samples: 14.159K, total: 254.862K, avg: 18, stddev: 0, max: 18, min: 18)
Order indices (cache hit rate) stats -- samples: 740.768K, total: 512.963K, avg: 0.692475, stddev: 0.461469, max: 1, min: 0)
Order indices (shared heap compression ratio) stats -- samples: 14.159K, total: 10.194K, avg: 0.720000, stddev: 0, max: 0.720000, min: 0.720000)
Order keys (bytes allocated for deserialized value) stats -- samples: 2, total: 340.632K, avg: 170.316K, stddev: 169.500K, max: 339.816K, min: 816)
Order keys (bytes deserialized from shared heap) stats -- samples: 2, total: 21.299K, avg: 10.649K, stddev: 10.594K, max: 21.243K, min: 56)
Order keys (bytes saved in shared heap due to compression) stats -- samples: 2, total: 0, avg: 0, stddev: 0, max: 0.000000, min: 0)
Order keys (bytes serialized into shared heap) stats -- samples: 2, total: 85.200K, avg: 42.600K, stddev: 42.375K, max: 84.975K, min: 225)
Order keys (cache hit rate) stats -- samples: 14.133K, total: 14.131K, avg: 0.999858, stddev: 0.011895, max: 1, min: 0)
Order keys (shared heap compression ratio) stats -- samples: 2, total: 2, avg: 1, stddev: 0, max: 1, min: 1)
Path (bytes allocated for deserialized value) stats -- samples: 1, total: 24, avg: 24, stddev: 0, max: 24, min: 24)
Path (bytes deserialized from shared heap) stats -- samples: 1, total: 3, avg: 3, stddev: 0, max: 3, min: 3)
Path (bytes saved in shared heap due to compression) stats -- samples: 5.692K, total: 1.307K, avg: 0.229621, stddev: 1.094040, max: 13, min: 0)
Path (bytes serialized into shared heap) stats -- samples: 5.692K, total: 170.605K, avg: 29.972769, stddev: 11.444562, max: 83, min: 6)
Path (cache hit rate) stats -- samples: 4, total: 3, avg: 0.750000, stddev: 0.433013, max: 1, min: 0)
Path (shared heap compression ratio) stats -- samples: 5.692K, total: 5.661K, avg: 0.994593, stddev: 0.026047, max: 1, min: 0.687500)
Refcount of implicit submodules (bytes allocated for deserialized value) stats -- samples: 1.674K, total: 0, avg: 0, stddev: 0, max: 0.000000, min: 0)
Refcount of implicit submodules (bytes deserialized from shared heap) stats -- samples: 1.674K, total: 7.631K, avg: 4.558542, stddev: 0.496561, max: 5, min: 4)
Refcount of implicit submodules (bytes saved in shared heap due to compression) stats -- samples: 944, total: 2.004K, avg: 2.122881, stddev: 2.374330, max: 5, min: 0)
Refcount of implicit submodules (bytes serialized into shared heap) stats -- samples: 944, total: 18.555K, avg: 19.655720, stddev: 1.491895, max: 21, min: 18)
Refcount of implicit submodules (shared heap compression ratio) stats -- samples: 944, total: 855.992095, avg: 0.906771, stddev: 0.103995, max: 1, min: 0.782609)
Reference List (bytes saved in shared heap due to compression) stats -- samples: 1, total: 3, avg: 3, stddev: 0, max: 3, min: 3)
Reference List (bytes serialized into shared heap) stats -- samples: 1, total: 28, avg: 28, stddev: 0, max: 28, min: 28)
Reference List (shared heap compression ratio) stats -- samples: 1, total: 0.903226, avg: 0.903226, stddev: 0, max: 0.903226, min: 0.903226)
Undecorated functions (bytes allocated for deserialized value) stats -- samples: 376, total: 87.560K, avg: 232.872340, stddev: 152.697464, max: 952, min: 48)
Undecorated functions (bytes deserialized from shared heap) stats -- samples: 376, total: 5.300K, avg: 14.095745, stddev: 5.953846, max: 33, min: 6)
Undecorated functions (bytes saved in shared heap due to compression) stats -- samples: 65.323K, total: 639.470K, avg: 9.789354, stddev: 28.205275, max: 3.376K, min: 0)
Undecorated functions (bytes serialized into shared heap) stats -- samples: 65.323K, total: 4.349M, avg: 66.579888, stddev: 35.712633, max: 2.359K, min: 25)
Undecorated functions (cache hit rate) stats -- samples: 9.840K, total: 1.971K, avg: 0.200305, stddev: 0.400228, max: 1, min: 0)
Undecorated functions (shared heap compression ratio) stats -- samples: 65.323K, total: 59.983K, avg: 0.918253, stddev: 0.094368, max: 1, min: 0.384288)
worker_system_time stats -- samples: 66, total: 1.500741, avg: 0.022738, stddev: 0.019181, max: 0.084649, min: 0)
worker_user_time stats -- samples: 66, total: 39.977373, avg: 0.605718, stddev: 0.656516, max: 2.629111, min: 0)
2019-08-12 10:30:07,757 ERROR Found 2 type errors!
inner_import.py:3:6 Undefined attribute [16]: Module `celery` has no attribute `Celery`.
inner_import.py:3:6 Incompatible parameter type [6]: Expected `object` for 1st anonymous parameter to call `print` but got `unknown`.
@lovemyliwu - I think this issue might be that pyre is unable to parse some of the celery files - if you were to fix the parsing errors in those files, I think Pyre would be able to properly check your project.
the py file:
the defined source like below:
the output: