Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Conversation

@doublethefish
Copy link

Here we update API calls to use the latest reccomended:

  • all 'testdir' fixtures now use the prefered 'pytester' fixture (the
    same in all usecases for pytest-black).
  • all 'Path.write' uses now use the more explicit `Path.write_text' api
    instead.
  • we replace makefile("pyproject.toml", ... with makepyprojecttoml(
    which is clearly defined just for this usecase.

There should be no functional change with this patch, except that older
python versions are probably no longer supported.

Here we update API calls to use the latest reccomended:
 * all 'testdir' fixtures now use the prefered 'pytester' fixture (the
   same in all usecases for pytest-black).
 * all 'Path.write' uses now use the more explicit `Path.write_text' api
   instead.
 * we replace `makefile("pyproject.toml", ...` with `makepyprojecttoml(`
   which is clearly defined just for this usecase.

There should be no functional change with this patch, except that older
python versions are probably no longer supported.
@rbebb
Copy link

rbebb commented Jul 15, 2022

This looks good to me. Let's just make sure the CI pipeline completes so that we know that it still works on the versions of Python that this project supports.

@doublethefish
Copy link
Author

Let's just make sure the CI pipeline completes

Is there any thing I need to do?

@rbebb
Copy link

rbebb commented Jul 15, 2022

@doublethefish It looks like the site they were using for testing (travis-ci.org) is no longer active. I created a ticket to get testing up and running again: #60. Someone with write access to the repo needs to do it though.

jaraco added a commit to coherent-oss/pytest-black that referenced this pull request Dec 15, 2024
@jaraco
Copy link
Contributor

jaraco commented Dec 15, 2024

Merged as coherent-oss/pytest-black@75e0012.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants