codetools
codetools copied to clipboard
Tools for Python code analysis and execution.
Hi, I've understood that modules `codetools.blocks2` and `codetools.blocks` are not working for python3 yet, I'm very interested into this kind of static analysis features, especially the use of [`restrict`](https://github.com/enthought/codetools/blob/96f52148adce62d3eb7c86637663ea21c87eb0cd/codetools/blocks2/tests/test_block.py#L40). Is...
We should migrate the test suite to use unittest. Subtasks: - [ ] Move existing function-based tests into `unittest.TestCase` subclasses - [ ] Update the CI machinery to use `unittest`...
`apptools` is a core dependency on codetools but is not listed as one in the package `__requires__`. See https://github.com/enthought/codetools/blob/042e701cbd827916fd416ee351f7c6d3c2015910/codetools/contexts/data_context.py#L18 https://github.com/enthought/codetools/blob/042e701cbd827916fd416ee351f7c6d3c2015910/codetools/contexts/geo_context.py#L5 https://github.com/enthought/codetools/blob/042e701cbd827916fd416ee351f7c6d3c2015910/codetools/execution/async_executing_context.py#L13-L14 https://github.com/enthought/codetools/blob/042e701cbd827916fd416ee351f7c6d3c2015910/codetools/__init__.py#L9-L12
The `codetools/_version.py` file (which is autogenerated by the `setup` script) should use the full Git commit hash instead of the abbreviated 7-hex version. It currently looks like this: ``` mirzakhani:codetools...
The documentation doesn't currently build under Python 3. The immediate error is due to use of `execfile` in the Sphinx configuration, but there may be others. ``` mirzakhani:docs mdickinson$ make...
Running the integration tests one gets two kind of errors **A.** When running ``` python -m nose.core ./integrationtests -v ``` we get ``` python test_write (test_context_performance.MultiContextTestCase) ... ok Compare exec...
The context masking code could almost certainly do with some modernization.