orange-beach-75711
08/27/2021, 9:19 AMsrc
└── <top_namespace>
├── services
└── libs
src
├── backend
| └── <top_namespace>
| ├── services
| └── libs
└── frontend
└── ..
We are thinking of putting all our python related files - pants
, pants.toml
, etc. under src/backend
. Is this pattern okay? Is there any downside to this?hundreds-father-404
08/27/2021, 3:06 PMorange-beach-75711
08/27/2021, 3:17 PMorange-beach-75711
08/27/2021, 3:17 PMhundreds-father-404
08/27/2021, 3:23 PMhappy-kitchen-89482
08/27/2021, 4:01 PMpants
script not in the repo root. They will probably work as long as you cd
into the directory it's in before running it. I'm not 100% sure what happens with git-related Pants actions, like using the --changed-since
flaghappy-kitchen-89482
08/27/2021, 4:02 PMhappy-kitchen-89482
08/27/2021, 4:03 PMorange-beach-75711
08/30/2021, 5:59 PMHm could you please tell me more about that - what’s going on?@hundreds-father-404 - looks like that wasn’t an issue after all. Proto files are all working as expected. I must have done an incorrect search & replace for imports within our proto files.
orange-beach-75711
08/30/2021, 6:35 PMI’m hoping to add Prettier and ESLint support in the next month as a weekend hack project, which will let you use ./pants lint :: to run all Python, JS/TS, and Shell linters in one goCan’t wait for that 😀