Steven Loria

Results 239 comments of Steven Loria

Awesome. I've worked around the issue for now by just commenting out `check_fix` for the one repo I needed to fix, so I'm not blocked. Maybe I'll send a PR...

@webknjaz Yes, I was referring to pre-commit.com. I'm not sure what you mean--running `pre-commit run --all-files` will modify files in place.

I don't see that as a blocker to implementing this feature, though. It is common to run `black` through pre-commit, but not all projects use the black coding style. marshmallow,...

No worries! Yeah, it makes sense why you'd want to use a bot for formatting. Integrating with pre-commit would generalize the tool a beyond `black` (and even beyond Python).

@serajushsalekin No, `timezone.now()` always returns the time in UTC (as long as `USE_TZ = True`). From the [docs](https://docs.djangoproject.com/en/2.0/ref/utils/#django.utils.timezone.now): > If USE_TZ is True, this will be an aware datetime representing...

@serajushsalekin Yes, `timezone.now()` returns a UTC datetime because `USE_TZ = True`. Consequently, `timezone.now()` will have deterministic output, i.e. it will not depend on the timezone of the server the app...

Thanks! Check out the contributing guide for instructions on how to set up locally: https://github.com/sloria/doitlive/blob/dev/CONTRIBUTING.md . As for this specific task, you can roughly follow my checklist for dropping Python...

Is git installed? I think we might need to catch `IOError` [here](https://github.com/sloria/doitlive/blob/b5aafcae6b00182f3f9556f8936b3eac0d5f22dc/doitlive/version_control.py#L15) to handle if git isn't installed.

When displaying prompts we attempt to show the current git branch if the cwd is a git repo. But it should fail gracefully when git isn't installed. Would you like...