poetry https://github.com/asdf-community/asdf-poetry.git // Install poetry $ asdf list all poetry $ asdf install poetry 1.1.14 // 環境ごとに設定が違うので、表示されるログをよく見て追記して Poetry (1.1.14) is installed now. Great! To get started you need Poetry's bin directory ($HOME/.asdf/installs/poetry/1.1.14/bin) in your `PATH` environment variable. To configure your current shell run `source $HOME/.asdf/installs/poetry/1.1.14/env` $ cat "source $HOME/.asdf/installs/poetry/1.1.14/env" >> $HOME/.bashrc $ source $HOME/.bashrc
common python_version = 3.10 check_untyped_defs = true show_column_numbers = true show_error_context = true ignore_missing_imports = true disallow_untyped_defs = true # warning warn_return_any = true warn_unused_configs = true warn_redundant_casts = true # setup.cfgの末尾に追加 # flake8はまだpyproject.tomlに対応していない [flake8] # e203: black treats : as a binary operator # e231: black doesn't put a space after , # e501: black may exceed the line-length to follow other # style rules # w503 or w504: # either one needs to be disabled to select w error # codes ignore = E203,E231,E501,W503 select = B,B950,C,E,F,W per-file-ignores = # imported but unused __init__.py: F401 > https://qiita.com/edge-m/items/846715217fc3dd481a84
n asdf-vm/asdf • https://github.com/asdf-vm/asdf n danhper/asdf-python • https://github.com/danhper/asdf-python n python-poetry/poetry • https://github.com/python-poetry/poetry 41