Antti Kaihola

Results 163 issues of Antti Kaihola

We need the functionality of rawgithack, but hosted on our private network and pointed to our private repositories. I tried to make this happen by attempting to run rawgithack locally,...

Fixes #239. - [x] Design decision: `--stdin-filename` vs. ~~unique file in the `src` argument with an `--stdin` option~~ (see [discussion in #239](https://github.com/akaihola/darker/issues/239#issuecomment-1049739494)) - [x] Add `--stdin-filename` command line argument, or...

enhancement

In [recent test builds](https://github.com/akaihola/darker/runs/5169472289?check_suite_focus=true) we have: ```python _pytest/nodes.py:146: 43 warnings _pytest/nodes.py:146: PytestDeprecationWarning: is not using a cooperative constructor and only takes {'fspath', 'parent'}. See https://docs.pytest.org/en/stable/deprecations.html#constructors-of-custom-pytest-node-subclasses-should-take-kwargs for more details. warnings.warn( _pytest/nodes.py:672:...

enhancement
maybe invalid?

By getting results of reformatting from Black in chunks instead of complete files, we should be able to apply reformat modified sections with more granularity. This is an experiment and...

enhancement
help wanted
maybe invalid?

Fixes #266. - [x] PoC implementation - [ ] unit tests for: - [x] `--help` content - [ ] actual f-string conversions - [ ] documentation in README - [x]...

enhancement

Fixes #251. **Additional context** - [many-formatters](/users/akaihola/projects/4/views/5) sub-project - #304 - #450 - #449

enhancement
many-formatters

In the build matrix, multiple different OS / Python version configurations run the same linters: - on Linux/Win/macOS with Python 3.7 thru 3.10: - `flake8` via `pytest-flake8` - `isort` via...

CI

Arbitrary arguments to Black aren't yet supported. Darker invokes Black directly through its internal Python API. The Black configuration is actually first read by Darker, and some options are passed...

enhancement
question