-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pseewald:master' into master
- Loading branch information
Showing
10 changed files
with
149 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ channels: | |
- conda-forge | ||
dependencies: | ||
- configargparse | ||
- importlib-metadata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
try: | ||
from importlib.metadata import PackageNotFoundError, version | ||
except ModuleNotFoundError: | ||
from importlib_metadata import PackageNotFoundError, version | ||
try: | ||
__version__ = version(__package__) | ||
except PackageNotFoundError: | ||
from setuptools_scm import get_version | ||
|
||
__version__ = get_version(root="..", relative_to=__file__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools >= 45", | ||
"wheel", | ||
"setuptools_scm[toml] >= 6.2", | ||
"setuptools_scm_git_archive", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
write_to = "fprettify/_version.py" | ||
|
||
[tool.isort] | ||
profile = "black" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
[metadata] | ||
name = fprettify | ||
url = https://github.com/pseewald/fprettify | ||
author = Patrick Seewald | ||
author_email = [email protected] | ||
description = auto-formatter for modern fortran source code | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
license = GPLv3 | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Intended Audience :: Developers | ||
Topic :: Software Development :: Quality Assurance | ||
License :: OSI Approved :: GNU General Public License v3 (GPLv3) | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Environment :: Console | ||
Operating System :: OS Independent | ||
keywords = | ||
fortran | ||
formatter | ||
project_urls = | ||
Tracker = https://github.com/pseewald/fprettify/issues | ||
Source Code = https://github.com/pseewald/fprettify | ||
|
||
[options] | ||
packages = find: | ||
python_requires = >= 3.6 | ||
install_requires = | ||
configargparse | ||
importlib-metadata; python_version < "3.8" | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
fprettify = fprettify.__init__:run | ||
|
||
[options.extras_require] | ||
dev = | ||
black | ||
isort | ||
pre-commit | ||
coveralls | ||
|
||
[flake8] | ||
max-line-length = 88 | ||
extend-ignore = E203, E722 |
Oops, something went wrong.