]> git.madduck.net Git - etc/vim.git/log

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

etc/vim.git
5 years agoappease flake8...
Zsolt Dollenstein [Sun, 28 Jul 2019 15:40:04 +0000 (16:40 +0100)]
appease flake8...

5 years agoskip tests touching aiohttp when known exception occurs
Zsolt Dollenstein [Sun, 28 Jul 2019 15:35:10 +0000 (16:35 +0100)]
skip tests touching aiohttp when known exception occurs

5 years agoadd change log entry
Zsolt Dollenstein [Sun, 28 Jul 2019 15:22:17 +0000 (16:22 +0100)]
add change log entry

5 years agoSupport PEP-570 (positional only arguments) (#946)
Zsolt Dollenstein [Sun, 28 Jul 2019 15:17:33 +0000 (16:17 +0100)]
Support PEP-570 (positional only arguments) (#946)

Code using positional only arguments is considered >= 3.8

5 years agoAdd support for walrus operator (#935)
Zsolt Dollenstein [Sun, 28 Jul 2019 15:03:23 +0000 (16:03 +0100)]
Add support for walrus operator (#935)

* Parse `:=` properly
* never unwrap parenthesis around `:=`
* When checking for AST-equivalence, use `ast` instead of `typed-ast` when running on python >=3.8
* Assume code that uses `:=` is at least 3.8

5 years agoCONTRIBUTING.md - update Python version (#942)
Abdur-Rahmaan Janhangeer [Thu, 25 Jul 2019 07:19:30 +0000 (11:19 +0400)]
CONTRIBUTING.md - update Python version (#942)

5 years agoFix Travis CI badge (#939)
Mariatta [Thu, 25 Jul 2019 01:09:55 +0000 (19:09 -0600)]
Fix Travis CI badge (#939)

It should point to travis-ci.com instead of .org

5 years ago- be more specific with the screenshots
Stefan Wimmer [Wed, 24 Jul 2019 21:12:11 +0000 (23:12 +0200)]
- be more specific with the screenshots

5 years ago- migrate to Colortemplate v2
Stefan Wimmer [Wed, 24 Jul 2019 20:44:32 +0000 (22:44 +0200)]
- migrate to Colortemplate v2
- add some screenhots (finally!)

5 years agoChange repo name to psf/black in README (#938)
Asger Hautop Drewsen [Wed, 24 Jul 2019 16:54:05 +0000 (18:54 +0200)]
Change repo name to psf/black in README (#938)

5 years agoupdate Pipfile.lock to work with Py3.[78]
Zsolt Dollenstein [Wed, 24 Jul 2019 08:49:33 +0000 (09:49 +0100)]
update Pipfile.lock to work with Py3.[78]

Note: had to pin `docutils==0.15` because of https://github.com/pypa/pipenv/issues/3865

5 years agopython/black -> psf/black (#936)
Hugo van Kemenade [Tue, 23 Jul 2019 08:50:50 +0000 (11:50 +0300)]
python/black -> psf/black (#936)

5 years agoHello github.com/psf!
Zsolt Dollenstein [Mon, 22 Jul 2019 20:41:45 +0000 (21:41 +0100)]
Hello github.com/psf!

5 years agoUse nullcontext in case when lock is None. Shutdown pool after code formatting. ...
Yurii Karabas [Tue, 16 Jul 2019 17:45:56 +0000 (20:45 +0300)]
Use nullcontext in case when lock is None. Shutdown pool after code formatting. (#928)

5 years agoMerge pull request #438 from anowlcalledjosh/fix-strikethrough
Hiroshi Shirosaki [Tue, 9 Jul 2019 09:53:00 +0000 (18:53 +0900)]
Merge pull request #438 from anowlcalledjosh/fix-strikethrough

Fix strikethrough

5 years agoFix typo (#916)
Min ho Kim [Mon, 1 Jul 2019 14:42:30 +0000 (00:42 +1000)]
Fix typo (#916)

5 years agoForce parentheses between unary op and binary power. (#909)
Brandt Bucher [Sat, 29 Jun 2019 16:35:16 +0000 (09:35 -0700)]
Force parentheses between unary op and binary power. (#909)

5 years agoFix docstring of schedule_formatting
Zsolt Dollenstein [Fri, 28 Jun 2019 16:31:54 +0000 (17:31 +0100)]
Fix docstring of schedule_formatting

Fixes #914.

5 years agoFix mypy errors. (#911)
Brandt Bucher [Tue, 25 Jun 2019 16:44:12 +0000 (09:44 -0700)]
Fix mypy errors. (#911)

5 years agoIgnore broken E203 (#910)
Juan Luis Cano Rodríguez [Tue, 25 Jun 2019 14:27:02 +0000 (16:27 +0200)]
Ignore broken E203 (#910)

See https://github.com/python/black/issues/565

5 years agoFix strikethrough
Josh Holland [Thu, 20 Jun 2019 14:52:53 +0000 (15:52 +0100)]
Fix strikethrough

`mkdStrike` wasn't matching in places where it should, because
`htmlStrike` was included in `mkdNonListItem`'s `contains` instead.

Also allow strikethrough delimiters to be concealed.

5 years agoAdd W503 to default flake8 ignore list (#894)
Adam Johnson [Sun, 16 Jun 2019 15:39:03 +0000 (16:39 +0100)]
Add W503 to default flake8 ignore list (#894)

W503 and W504 are mutually exclusive, to do with splitting binary operators across lines. Black reformats code according to W504, putting the operator on the start of the newline, therefore W503 needs to be ignored in the suggested Flake8 config to use with Black.

5 years agoadd change log entry
Zsolt Dollenstein [Sat, 15 Jun 2019 06:36:34 +0000 (07:36 +0100)]
add change log entry

5 years agoPin comment to single leaf in invisible parens (#872)
Zsolt Dollenstein [Sat, 15 Jun 2019 06:29:09 +0000 (07:29 +0100)]
Pin comment to single leaf in invisible parens (#872)

5 years agoFix trailing comma for function with one arg (#880) (#891)
dylanjblack [Sat, 15 Jun 2019 04:49:49 +0000 (14:49 +1000)]
Fix trailing comma for function with one arg (#880) (#891)

Modified maybe_remove_trailing_comma to remove trailing commas for
typedarglists (in addition to arglists), and updated line split logic
to ensure that all lines in a function definition that contain only one
arg have a trailing comma.

5 years agoAdd Datadog to list of users (#876)
Ofek Lev [Thu, 6 Jun 2019 07:34:58 +0000 (03:34 -0400)]
Add Datadog to list of users (#876)

5 years agoAdd link to the pyproject.toml for setting up pre-commit hook (#885)
Aviskar KC [Thu, 6 Jun 2019 07:33:09 +0000 (13:18 +0545)]
Add link to the pyproject.toml for setting up pre-commit hook (#885)

5 years agoUpdate doc
Hiroshi Shirosaki [Wed, 5 Jun 2019 07:15:43 +0000 (16:15 +0900)]
Update doc

5 years agoPythonic folding expand level 1 by default
Hiroshi Shirosaki [Wed, 5 Jun 2019 05:52:34 +0000 (14:52 +0900)]
Pythonic folding expand level 1 by default

Fix test failures.
Change document of Pythonic folding.

5 years agoExpand tabs
Hiroshi Shirosaki [Wed, 5 Jun 2019 05:18:38 +0000 (14:18 +0900)]
Expand tabs

5 years agoMerge branch 'pythonic_level1'
Hiroshi Shirosaki [Wed, 5 Jun 2019 05:18:08 +0000 (14:18 +0900)]
Merge branch 'pythonic_level1'

5 years agoMerge pull request #434 from yous/variables-doc
Hiroshi Shirosaki [Wed, 5 Jun 2019 04:48:12 +0000 (13:48 +0900)]
Merge pull request #434 from yous/variables-doc

Search global variables more accurately

5 years agoRemove a test to avoid a bug with latest vim
Hiroshi Shirosaki [Wed, 5 Jun 2019 04:45:12 +0000 (13:45 +0900)]
Remove a test to avoid a bug with latest vim

5 years agoSearch global variables more accurately
Chayoung You [Wed, 5 Jun 2019 04:25:05 +0000 (13:25 +0900)]
Search global variables more accurately

5 years agoUpdate doc
Hiroshi Shirosaki [Wed, 5 Jun 2019 04:14:37 +0000 (13:14 +0900)]
Update doc

5 years agoMerge branch 'variables-doc'
Hiroshi Shirosaki [Wed, 5 Jun 2019 04:14:24 +0000 (13:14 +0900)]
Merge branch 'variables-doc'

5 years agoMerge pull request #433 from nstickney/master
Hiroshi Shirosaki [Wed, 5 Jun 2019 03:51:36 +0000 (12:51 +0900)]
Merge pull request #433 from nstickney/master

document `conceal_code_blocks` in README.md

5 years agodocument `conceal_code_blocks` in README.md
Stick [Wed, 5 Jun 2019 01:26:39 +0000 (21:26 -0400)]
document `conceal_code_blocks` in README.md

I set `conceallevel=0` in .vimrc, as well as `g:vim_markdown_conceal =
0` but code fences were still being hidden. I could not find this option
documented anywhere, so I went to the source code. Adding the
`g:vim_markdown_conceal_code_blocks = 0` fixed my problem, and I assume
other people will want to find this in the future.

5 years ago- final commit before switching to Colortemplate v2
Stefan Wimmer [Mon, 3 Jun 2019 11:10:46 +0000 (13:10 +0200)]
- final commit before switching to Colortemplate v2
- tweaking some colours to make them more visible on their specific background

5 years ago[blib2to3] Fixed a typo and removed an unused import. (#848)
Mike [Sun, 26 May 2019 10:10:14 +0000 (06:10 -0400)]
[blib2to3] Fixed a typo and removed an unused import. (#848)

5 years agofix some out-of-date docstrings; other cleanup (#865)
Jelle Zijlstra [Sun, 26 May 2019 10:09:11 +0000 (03:09 -0700)]
fix some out-of-date docstrings; other cleanup (#865)

5 years agoDocument cache location configuration (#866)
Yngve Høiseth [Sun, 26 May 2019 10:08:22 +0000 (12:08 +0200)]
Document cache location configuration (#866)

5 years agoDocument the need to enter the virtual environment shell (#868)
Yngve Høiseth [Sun, 26 May 2019 09:58:29 +0000 (11:58 +0200)]
Document the need to enter the virtual environment shell (#868)

5 years agoDon't introduce quotes to f-string sub-expressions on string boundaries (#871)
Zsolt Dollenstein [Sun, 26 May 2019 09:58:00 +0000 (11:58 +0200)]
Don't introduce quotes to f-string sub-expressions on string boundaries (#871)

5 years agobump Pipfile.lock
Zsolt Dollenstein [Sun, 26 May 2019 09:45:47 +0000 (11:45 +0200)]
bump Pipfile.lock

5 years agominor performance improvement (~2% speedup in unit tests) (#858)
Michael Flaxman [Wed, 22 May 2019 03:02:17 +0000 (22:02 -0500)]
minor performance improvement (~2% speedup in unit tests) (#858)

5 years agoAdd doc clarifying that there is no blackd client (#859)
Stephen Rosen [Mon, 20 May 2019 17:57:09 +0000 (13:57 -0400)]
Add doc clarifying that there is no blackd client (#859)

Resolves #854

The first sentence of this is pretty uncontroversial. (Though I wasn't
sure exactly where in the text to put it.)
I thought it would also be nice to show the `curl` test with a tiny
statement that actually reformats.

5 years agoRemove happiness of error message (#852)
Katie McLaughlin [Thu, 16 May 2019 12:02:17 +0000 (22:02 +1000)]
Remove happiness of error message (#852)

5 years agoremove obviously unnecessary parentheses (#850)
Jelle Zijlstra [Thu, 16 May 2019 04:11:04 +0000 (21:11 -0700)]
remove obviously unnecessary parentheses (#850)

Fixes #548

5 years agoImprove/fix indent with closing parenthesis (#129)
Daniel Hahler [Mon, 13 May 2019 20:48:12 +0000 (22:48 +0200)]
Improve/fix indent with closing parenthesis (#129)

Fixes https://github.com/Vimjas/vim-python-pep8-indent/issues/126

5 years agoFix indent of "elif" after "else" (#128)
Daniel Hahler [Sat, 11 May 2019 13:43:17 +0000 (15:43 +0200)]
Fix indent of "elif" after "else" (#128)

Fixes https://github.com/Vimjas/vim-python-pep8-indent/issues/125.

5 years agoUse only one level of indentation after opening paren (#127)
Daniel Hahler [Sat, 11 May 2019 13:11:23 +0000 (15:11 +0200)]
Use only one level of indentation after opening paren (#127)

Fixes https://github.com/Vimjas/vim-python-pep8-indent/issues/126.

5 years agoFix indent with pythonTodo at end of line (#124)
Daniel Hahler [Sat, 11 May 2019 13:10:47 +0000 (15:10 +0200)]
Fix indent with pythonTodo at end of line (#124)

"pythonTodo" is contained in "pythonComment".
Fix it by adding "pythonTodo" to the pattern to match special chars.

An alternative might be using `synstack()` to get to "pythonComment"
still, but this is not really necessary (and likely slower).

5 years agoMention support for async generators
Łukasz Langa [Thu, 9 May 2019 16:19:33 +0000 (18:19 +0200)]
Mention support for async generators

5 years agoChange log wording and ordering
Łukasz Langa [Thu, 9 May 2019 16:18:10 +0000 (18:18 +0200)]
Change log wording and ordering

5 years agoacks += bgw
Łukasz Langa [Thu, 9 May 2019 16:04:09 +0000 (18:04 +0200)]
acks += bgw

5 years agoMove tokenizer config onto grammar, rename flag
Benjamin Woodruff [Wed, 8 May 2019 20:38:38 +0000 (16:38 -0400)]
Move tokenizer config onto grammar, rename flag

Based on the feedback in
https://github.com/python/black/pull/845#issuecomment-490622711

- Remove TokenizerConfig, and add a field to Grammar instead.
- Pass the Grammar to the tokenizer.
- Rename `ASYNC_IS_RESERVED_KEYWORD` to `ASYNC_KEYWORDS` and
  `ASYNC_IS_VALID_IDENTIFIER` to `ASYNC_IDENTIFIERS`.

5 years agoAdd support for always tokenizing async/await as keywords
Benjamin Woodruff [Wed, 8 May 2019 19:06:44 +0000 (15:06 -0400)]
Add support for always tokenizing async/await as keywords

Fixes #593

I looked into this bug with @ambv and @carljm, and we reached the
conclusion was that it's not possible for the tokenizer to determine if
async/await is a keyword inside all possible generators without breaking
the grammar for older versions of Python.

Instead, we introduce a new tokenizer mode for Python 3.7+ that will
cause all async/await instances to get parsed as a reserved keyword,
which should fix async/await inside generators.

5 years agoacks += revfried
Łukasz Langa [Thu, 9 May 2019 15:08:31 +0000 (17:08 +0200)]
acks += revfried

5 years agoMention fix for backslashes before standalone comments
Łukasz Langa [Thu, 9 May 2019 15:07:06 +0000 (17:07 +0200)]
Mention fix for backslashes before standalone comments

5 years agoRemove spurious prints
Łukasz Langa [Thu, 9 May 2019 02:49:48 +0000 (04:49 +0200)]
Remove spurious prints

5 years agoUse to handle legacy async/await handling in assert_equivalent
Łukasz Langa [Wed, 8 May 2019 21:33:39 +0000 (23:33 +0200)]
Use  to handle legacy async/await handling in assert_equivalent

5 years agoAdd PyCon talk link to README (#844)
Carol Willing [Wed, 8 May 2019 18:52:41 +0000 (11:52 -0700)]
Add PyCon talk link to README (#844)

5 years agoMake --safe work for Python2.7 syntax, by using typed_ast for safe validation (#840)
Jason Fried [Wed, 8 May 2019 14:45:59 +0000 (10:45 -0400)]
Make --safe work for Python2.7 syntax, by using typed_ast for safe validation (#840)

5 years agoAvoid unstable formatting when comment follows escaped newline. (#839). Fixes #767.
Carl Meyer [Wed, 8 May 2019 13:53:20 +0000 (09:53 -0400)]
Avoid unstable formatting when comment follows escaped newline. (#839). Fixes #767.

5 years agoMinor README updates (#842)
Hugo [Wed, 8 May 2019 13:06:19 +0000 (16:06 +0300)]
Minor README updates (#842)

* Header in sentence case, for consistency

* Black in italics

5 years agoMention Elpy
Łukasz Langa [Tue, 7 May 2019 20:16:29 +0000 (22:16 +0200)]
Mention Elpy

Fixes #689

5 years agohumility -= 1
Łukasz Langa [Tue, 7 May 2019 18:29:31 +0000 (20:29 +0200)]
humility -= 1

5 years agoUse g:pymode_python-defined interpreter if defined and exists, otherwise use existing...
pmacosta [Tue, 7 May 2019 17:28:56 +0000 (13:28 -0400)]
Use g:pymode_python-defined interpreter if defined and exists, otherwise use existing defaults (#666)

This is helpful when using custom-compiled interpreters, or alternative
Python interpreters in non-standard locations

5 years agodon't run more than 61 workers on Windows (#838)
Jelle Zijlstra [Tue, 7 May 2019 17:11:20 +0000 (13:11 -0400)]
don't run more than 61 workers on Windows (#838)

5 years agoDescribe how to add black to Wing IDE (#758)
Arjaan Buijk [Tue, 7 May 2019 14:17:00 +0000 (10:17 -0400)]
Describe how to add black to Wing IDE (#758)

5 years agoAdd `black -c "code"` (#761)
Jelle Zijlstra [Tue, 7 May 2019 13:58:59 +0000 (09:58 -0400)]
Add `black -c "code"` (#761)

5 years agoRemove deprecated license_file from setup.cfg (#825)
Jon Dufresne [Tue, 7 May 2019 13:57:44 +0000 (06:57 -0700)]
Remove deprecated license_file from setup.cfg (#825)

Starting with wheel 0.32.0 (2018-09-29), the "license_file" option is
deprecated.

https://wheel.readthedocs.io/en/stable/news.html

The wheel will continue to include LICENSE, it is now included
automatically:

https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file

5 years agoadd to changelog
Jelle Zijlstra [Tue, 7 May 2019 13:52:41 +0000 (09:52 -0400)]
add to changelog

5 years agoAdd parentheses around tuple unpack assignment (#832)
Jelle Zijlstra [Tue, 7 May 2019 13:51:28 +0000 (09:51 -0400)]
Add parentheses around tuple unpack assignment (#832)

Fixes #656

5 years agoRemove unnecessary parens around yield (#834)
Jelle Zijlstra [Tue, 7 May 2019 13:49:50 +0000 (09:49 -0400)]
Remove unnecessary parens around yield (#834)

5 years agoUpdate calver version number (#835)
Hugo [Tue, 7 May 2019 02:02:09 +0000 (05:02 +0300)]
Update calver version number (#835)

If released this month, it will be 19.5b0.

5 years agoadd to CHANGELOG
Jelle Zijlstra [Mon, 6 May 2019 15:09:04 +0000 (11:09 -0400)]
add to CHANGELOG

5 years agofix handling of comments in from imports (#829)
Jelle Zijlstra [Mon, 6 May 2019 13:13:25 +0000 (09:13 -0400)]
fix handling of comments in from imports (#829)

Fixes #671

5 years agoWrap `loop.run_in_executor` up in `asyncio.ensure_future` for reliable cross-platform...
Tom Christie [Sun, 5 May 2019 18:58:26 +0000 (19:58 +0100)]
Wrap `loop.run_in_executor` up in `asyncio.ensure_future` for reliable cross-platform berhavior. (#679)

Closes #494

Task completion should also remove the task from `pending`.

Only replicates on some platforms. (eg. Can replicate on Python 3.7+, with either Windows or whatever default Linux distro Travis uses.)

5 years agoambv/black -> python/black (#819)
Hugo [Thu, 2 May 2019 19:19:52 +0000 (22:19 +0300)]
ambv/black -> python/black (#819)

5 years agoFix B011 (#820)
Hugo [Thu, 2 May 2019 19:09:49 +0000 (22:09 +0300)]
Fix B011 (#820)

Do not call assert False since python -O removes these calls. Instead callers should raise AssertionError().

5 years agominor: remove wrong comment in .flake8 (#788)
Daniel Hahler [Thu, 2 May 2019 17:03:02 +0000 (19:03 +0200)]
minor: remove wrong comment in .flake8 (#788)

This is there since the initial commit, which did not have a setup.cfg.

5 years agoGenerate IDs of global variables
Chayoung You [Tue, 23 Apr 2019 07:17:37 +0000 (16:17 +0900)]
Generate IDs of global variables

See
https://github.com/plasticboy/vim-markdown/pull/429#issuecomment-485348064.

5 years agoMerge pull request #429 from yous/variables-doc
Hiroshi Shirosaki [Mon, 22 Apr 2019 07:12:22 +0000 (16:12 +0900)]
Merge pull request #429 from yous/variables-doc

Mention related global variables in document

5 years agoMention related global variables in document
Chayoung You [Fri, 12 Apr 2019 05:05:25 +0000 (14:05 +0900)]
Mention related global variables in document

5 years agoMerge pull request #428 from yous/code-quotes
Hiroshi Shirosaki [Fri, 12 Apr 2019 01:53:44 +0000 (10:53 +0900)]
Merge pull request #428 from yous/code-quotes

Fix double code quotes with backslashes

5 years agoFix double code quotes with backslashes
Chayoung You [Thu, 11 Apr 2019 09:05:39 +0000 (18:05 +0900)]
Fix double code quotes with backslashes

5 years agoMerge pull request #77 from DanielJSottile/fix_hints
Vincent Driessen [Wed, 3 Apr 2019 05:32:38 +0000 (07:32 +0200)]
Merge pull request #77 from DanielJSottile/fix_hints

Fixed examples in README

5 years agoFixed examples in README
Daniel Sottile [Wed, 3 Apr 2019 01:46:59 +0000 (21:46 -0400)]
Fixed examples in README

5 years agoMerge pull request #423 from tobinjt/folding-fix
Hiroshi Shirosaki [Tue, 26 Mar 2019 00:36:59 +0000 (09:36 +0900)]
Merge pull request #423 from tobinjt/folding-fix

Folding fix

5 years agoMerge pull request #422 from tobinjt/testing-fix
Hiroshi Shirosaki [Tue, 26 Mar 2019 00:34:26 +0000 (09:34 +0900)]
Merge pull request #422 from tobinjt/testing-fix

Testing fix

5 years agoMerge branch 'master' into testing-fix
John Tobin [Mon, 25 Mar 2019 20:30:10 +0000 (20:30 +0000)]
Merge branch 'master' into testing-fix

5 years agoMerge branch 'master' into folding-fix
John Tobin [Mon, 25 Mar 2019 20:29:57 +0000 (20:29 +0000)]
Merge branch 'master' into folding-fix

5 years agoSplit the TRAILING_COMMA feature (#763)
Jelle Zijlstra [Mon, 25 Mar 2019 15:22:02 +0000 (08:22 -0700)]
Split the TRAILING_COMMA feature (#763)

5 years agoMerge pull request #421 from jneidel/patch-1
Hiroshi Shirosaki [Mon, 25 Mar 2019 04:55:23 +0000 (13:55 +0900)]
Merge pull request #421 from jneidel/patch-1

Fix typo

5 years agoFix typo
Jonathan Neidel [Sun, 24 Mar 2019 18:47:57 +0000 (19:47 +0100)]
Fix typo

line -> lines

5 years agofix numbered line formatting
martin f. krafft [Sat, 23 Mar 2019 22:19:08 +0000 (11:19 +1300)]
fix numbered line formatting

5 years agoTerget version option kebab-style (#770)
Daniele Esposti [Wed, 20 Mar 2019 15:40:01 +0000 (15:40 +0000)]
Terget version option kebab-style (#770)

5 years agoRemove user directories from runtimepath.
John Tobin [Mon, 18 Mar 2019 22:39:43 +0000 (22:39 +0000)]
Remove user directories from runtimepath.

The default value of runtimepath includes ~/.vim and ~/.vim/after.
Configuration in those directories can interfere with tests.  Remove
those directories from runtimepath to make the tests hermetic.