Siddhartha Gandhi
72608704d8
Change Windows default cache directory to local ( #1 )
...
Change Windows default cache directory to local
From an issue that called for:
The default jedi cache directory is the roaming folder. In my company, we have restrictions on the file size of the Roaming folder (since I believe these settings are synced across computers). The jedi cache really isn't a fundamental user setting that needs to be synced across devices, so it really should be in the local app data folder. So I propose here that the default windows path use the environment variable %LocalAppData% instead.
2017-06-06 07:58:29 +02:00
Dave Halter
6bf52e8fe0
Fix a Python 2 issue in the normalizer.
2017-06-05 23:30:58 +02:00
Dave Halter
c3d101f582
Add some normalizer tests about imports.
2017-06-05 23:29:25 +02:00
Dave Halter
3e95793756
Fix the lambda issues.
2017-06-05 00:22:26 +02:00
Dave Halter
d1d02ba3f5
Create the first tests for the pydocstyle finder.
2017-06-04 23:59:44 +02:00
Dave Halter
660bbe1971
Trying to add a testsuite in pytest for the tests of pydocstyle.
2017-06-04 21:10:57 +02:00
Dave Halter
f13643b6cd
Try to implement some of the pydocstyle functionality in the normalizer function.
2017-06-04 18:13:29 +02:00
Dave Halter
e82976fb37
Fix a 27 issue.
2017-06-02 00:16:53 +02:00
Dave Halter
be54401388
Fix some stuff that caused issues in Jedi.
2017-06-02 00:15:37 +02:00
Dave Halter
b1b165c21e
Actually pass the tests again with removed remove_last_newline.
2017-06-01 18:29:52 +02:00
Dave Halter
814b16cc6c
Remove the remove_newline hack and build that stuff into error recovery instead.
...
Tests are passing except for diff parser tests.
2017-05-31 21:24:24 +02:00
Dave Halter
b367058af6
Temporary work on carriage returns.
2017-05-31 08:59:49 +02:00
Dave Halter
8356bcab10
Fix small issues in prefix positioning.
2017-05-30 09:35:13 +02:00
Dave Halter
3e4b2f41cd
Fix the token types.
2017-05-30 02:05:45 +02:00
Dave Halter
6640308d15
Add a prefix splitting.
2017-05-30 02:00:08 +02:00
Dave Halter
a276c0b42d
Try to add rules for normalizers.
2017-05-28 17:14:20 +02:00
Dave Halter
d774bdd8f7
For now the normalizer just does something stupid. Removing the whitespace.
2017-05-27 20:45:30 -04:00
Dave Halter
673ffb9c62
Start adding normalizers instead of the get_code(normalize=True) function.
2017-05-27 13:02:56 -04:00
Dave Halter
7c1f3b3a65
Use escapes for some regex expressions.
2017-05-26 14:19:06 -04:00
Dave Halter
adc3ec268a
Fix a 27 test.
2017-05-26 14:14:08 -04:00
Dave Halter
7b8455174a
Remove more unused code.
2017-05-26 14:06:40 -04:00
Dave Halter
53674772ff
Fix a small todo.
2017-05-26 13:59:33 -04:00
Dave Halter
406064c457
Remove a place of saving a module that was not necessary.
2017-05-26 13:43:34 -04:00
Dave Halter
bc68266a68
Remove a todo that was a duplicate.
2017-05-26 13:01:50 -04:00
Dave Halter
dafffdc9b4
The parser cache in RAM has now grammar versioning.
2017-05-26 12:48:59 -04:00
Dave Halter
f997b91a12
Remove a function that was never used.
2017-05-26 12:23:30 -04:00
Dave Halter
8ae5fc60d6
Moved the grammar object out of the cache module.
2017-05-26 12:17:45 -04:00
Dave Halter
976c5151af
Rename source_tokens to tokenize and generate_tokens to tokenize_lines.
2017-05-26 12:01:35 -04:00
Dave Halter
d8e991c39f
A small change to remove flake8 warnings.
2017-05-26 11:51:00 -04:00
Dave Halter
33c228aa42
Remove exact_op_types as a parameter, because it's not even used.
2017-05-26 11:49:48 -04:00
Dave Halter
0d93a2a2df
Simplify pgen a bit.
2017-05-26 11:46:22 -04:00
Dave Halter
8948c9053b
use_exact_op_types -> exact_op_types.
2017-05-26 11:39:29 -04:00
Dave Halter
b4259b2b4f
Change the default of use_exact_op_types in the tokenizer.
2017-05-26 11:32:00 -04:00
Dave Halter
5ba73bfccc
Moved the grammar files for the new logic.
2017-05-25 16:46:39 -04:00
Dave Halter
6283577bc3
Actually implement the load_grammar properly.
2017-05-25 16:45:29 -04:00
Dave Halter
b037321d1e
Change the docstring for the cache parameter.
2017-05-25 14:40:09 -04:00
Dave Halter
68038a82ee
Reorder some arguments.
2017-05-25 13:44:19 -04:00
Dave Halter
b7df52edb5
Use the diff parser as well.
2017-05-25 13:41:45 -04:00
Dave Halter
e7ea01fb35
Actually start using the stuff we defined in grammar.
2017-05-25 13:38:49 -04:00
Dave Halter
333046c253
load_python_grammar -> load_grammar.
2017-05-25 13:28:24 -04:00
Dave Halter
fab9edff87
Whitespace.
2017-05-24 14:26:01 -04:00
Dave Halter
e1ef9c086f
Now also add an index.rst.
2017-05-24 14:09:50 -04:00
Dave Halter
d5c27b59be
Move the parser tree to a more fitting file name.
2017-05-24 13:51:42 -04:00
Dave Halter
a8ef9990b6
First iteration of parser tree docs.
2017-05-24 13:50:26 -04:00
Dave Halter
7e94b2c4ed
A first iteration of the usage documentation.
2017-05-24 13:44:24 -04:00
Dave Halter
5e62a836db
Add a development documentation.
2017-05-24 13:21:02 -04:00
Dave Halter
9b6f7c78a2
Add an installation documentation.
2017-05-24 13:13:23 -04:00
Dave Halter
8feaad23f1
Add a version_info function in parso.utils.
2017-05-24 12:52:15 -04:00
Dave Halter
2fd4567d6f
Add a test from jedi.
2017-05-24 00:42:17 -04:00
Dave Halter
a07801327c
Bump version.
2017-05-24 00:17:46 -04:00