Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python環境周り #22

Closed
2 of 4 tasks
shuntaka9576 opened this issue Apr 21, 2019 · 0 comments
Closed
2 of 4 tasks

Python環境周り #22

shuntaka9576 opened this issue Apr 21, 2019 · 0 comments

Comments

@shuntaka9576
Copy link
Owner

shuntaka9576 commented Apr 21, 2019

virtualenv対応

diagnostic

  • ALE
    • mypyでnot module error(.venvが参照されていない)
      → importエラー抑止で解決とする 8322723
      • black mypy flake8 isort をpipenv dev installで動作確認済
      • mypyが.venvを参照してくれる設定を探す

code-definition

  • jedi-vim
    • global installされたlibにしかjump出来ない
      jedi support virtualenv(WIP) jedi issue
  • coc.nvim
    • global installされたlibにしかjump出来ない(jedi同様)
      coc-settings.jsonのどの設定を弄れば良いのか分からない..

気づきとか

  • dotfilesで必要パッケーしをpip3コマンドでinstallしているがrequirements.txtで管理した方が良い気がした
  • 必須パッケージは以下くらい
    正直linterとformatterは、global installしなくていい気がする
    • pyls
    • pipenv
  • jedi-vimとdeopleteは、pip3 install neovimしないと動かない

悩みどころ

  • linter formatterをPipfileに入れるべきか?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant