-
I'm looking into migrating an existing project from Python's built-in `logging` facilities to `loguru`. The code base uses printf-style formatting quite extensively, e.g.
```
logger.info("Loading …
-
After #119942, `mkDerivation` supports recursive definition of package attributes with
```nix
foo = mkDerivation (final: { });
foo_v2 = foo.overrideAttrs (final: prev: { });
# instead of
foo = …
RuRo updated
2 months ago
-
Integrate tools to assess the code quality (e.g., ESLint for JavaScript or Pylint for Python) into your CI pipeline.
Define coding conventions (e.g., bracket styles) and ensure the pipeline enforces …
-
With the latest version, shields get separated on new lines:
see at https://bernat.tech/about
This wasn't the case before. Might be related to https://github.com/gohugoio/hugo/issues/11319
`…
-
I found out the latest mm library supports config in pure python style.
Is it possible to import mmdet config in pure python style like
```
if '_base_':
from mmdet.configs._base_.default_runti…
-
[FR] [les tests statiques](https://latavernedutesteur.fr/2017/11/03/les-tests-statiques-rois-du-roi/)
``` C
if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0)
goto fail;
if ((err …
-
It looks like positron-python uses roughly the Google Python docstring style. I actually was not familiar with this docstring style and had to look it up. I don't know the history of this, but I know …
wesm updated
6 months ago
-
Replace sticklerCI features with similar lint checks.
**Describe the solution you'd like**
- check code-style with various linters including:
- [ ] `flake8` checks
- [ ] `shellcheck` checks
…
-
This came up at https://github.com/python/cpython/pull/123845#pullrequestreview-2290598310.
We're not consistent in writing it upper or lower case. A rough search shows it's about 50-50:
```cons…
-
Two image links broken in: https://carpentries-incubator.github.io/python-intermediate-development-earth-sciences/15-coding-conventions/index.html#indentation-in-python-2-vs-python-3