Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add black config to pyproject.toml. #1971

Merged
merged 9 commits into from
Sep 20, 2022

Conversation

thorstenhater
Copy link
Contributor

@thorstenhater thorstenhater commented Sep 5, 2022

Title says all, small change to consolidate config. Note that the last bit will be gone with #1958, namely adding the a-b-c.in template to the sources.

Copy link
Contributor

@brenthuisman brenthuisman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • merge master.

@@ -26,6 +26,12 @@ dependencies = [
"numpy"
]

[tool.black]
line-length = 88
target-version = ['py37', 'py38', 'py39', 'py310']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add py311?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not in pyproject.toml?

classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Intended Audience :: Science/Research",
    "License :: OSI Approved :: BSD License",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3.7",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: C++"
]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also we do not -- yet -- build against 3.11. I'd suggest adding this when it's the time.

pyproject.toml Outdated Show resolved Hide resolved
@thorstenhater
Copy link
Contributor Author

@brenthuisman poke?

@brenthuisman brenthuisman merged commit 1ad8e49 into arbor-sim:master Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants