Comments (5)
flake8, isortの設定を全てpyproject.tomlに移行する場合
isortは対応しているが、flake8が対応していない
flake8はどうやらwrapperがあるらしい
https://pypi.org/project/pyproject-flake8/
from .github.
元々のrepositoryのsetup.cfgにもflake8やisortの設定を書いていた場合
isort はpyproject.tomlを優先するが、pflake8はsetup.cfgを優先する
from .github.
本当にただのコメントなのですが、1つのファイルにまとめる必要はそんなにないかな、と個人的には思っていて、自分のローカルのプロジェクトでは、flake8の設定はsetup.cfgに、isortの設定のみ.isort.cfgファイルに書いています(setup.cfgにisort設定が書かれているとVSCodeのisort機能が正常に設定を読んでくれなかったため)
from .github.
一つのファイルである必要はないですが、何も設定していないrepositoryに対してはCI動作時にorganization全体でのコーディングルールをチェックできる機構が必要です。
ローカルの設定は好きにしてくれて構わないですし、各repositoryの運用に関しても別に好きにコーディングルールを決めるのを咎めたいのではないです。
全体でのコーディングルールに追加更新があった場合に全repositoryに対して1つ1つPRを作成し適応させるという作業は現実的ではないので一元管理しておきたいですよねというのがこのリポジトリにあるsetup.cfgの由来です。
つまり、ros2のpythonパッケージでsetup.cfgが一般的に作成されてしまうので、setup.cfg以外でorganization全体でのコーディングルールを指定できるようにするか、setup.cfgのマージをしないといけないですよねというのがこのissueでの対応事項です。
from .github.
大丈夫です、分かってますし異論ないですよ🙆♀️
from .github.
Related Issues (20)
- generate multiversions document HOT 1
- CI中にisortが正常に動かない HOT 21
- flake8が正常にインストールされておらず、走っていないにも関わらず落ちていない HOT 1
- ros2 build/testのworkflowにlibfreenect周りを追加する
- ros2でclang-tidyを実行するときstd library周りでエラーが出る
- ros2のテスト結果を確認できていない
- pythonのlinterが3.8より後のバージョンに対応していない
- ドキュメント生成時のros/ros2の分岐ミス
- test時にサーバにあるレポジトリと.rosinstallに書かれているレポジトリのリモートが異なる時 HOT 1
- pythonのformatter, linterをruffで置き換える?
- catkin config --install option?
- rosdep installのtimeout時間が短い
- self hosted runnerの管理が面倒
- Isort cannot resolve first party package (or local package) in ROS2
- PR-Agent: Use gpt4o
- post ccache bug
- ROS2 jazzy用のgithub action整備
- enable git recursive during linter python
- catkin clean before testing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from .github.