hpc / charliecloud

Lightweight user-defined software stacks for high-performance computing.
https://hpc.github.io/charliecloud
Apache License 2.0
308 stars 61 forks source link

Pylint: enforce C-style string formatting #1867

Open reidpr opened 3 months ago

reidpr commented 3 months ago

Split from #1860. Pylint: C0209 consider-using-f-string

https://github.com/hpc/charliecloud/blob/d67937332094a7d8de8e9bd2e112d30d117c50c0/lib/build_cache.py#L178-L179

I don’t like f-strings and I’ve not seen any good argument why they are better. Thus, let’s extend Pylint to enforce C-style string formatting instead.