-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'AntObi-ruff' into docs_updates
- Loading branch information
Showing
33 changed files
with
1,142 additions
and
1,191 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 |
---|---|---|
@@ -1,24 +1,11 @@ | ||
repos: | ||
- repo: https://github.com/timothycrosley/isort | ||
rev: "5.12.0" | ||
hooks: | ||
- id: isort | ||
additional_dependencies: [toml] | ||
args: ["--profile", "black", "--filter-files","--line-length=80"] | ||
- repo: https://github.com/psf/black | ||
rev: "23.1.0" | ||
hooks: | ||
- id: black-jupyter | ||
args: [--line-length=80] | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.3.1 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py38-plus] | ||
- repo: https://github.com/nbQA-dev/nbQA | ||
rev: "1.6.1" | ||
hooks: | ||
- id: nbqa-pyupgrade | ||
additional_dependencies: [pyupgrade==3.3.1] | ||
args: [--py38-plus] | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.6.1 | ||
hooks: | ||
# Run the linting tool | ||
- id: ruff | ||
types_or: [ python, pyi ] | ||
args: [--fix] | ||
# Run the formatter | ||
- id: ruff-format | ||
types_or: [ python, pyi ] |
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 |
---|---|---|
@@ -1,28 +1,29 @@ | ||
#!/usr/bin/env python | ||
"""Installation for SMACT.""" | ||
|
||
from __future__ import annotations | ||
|
||
__author__ = "Daniel W. Davies" | ||
__author_email__ = "[email protected]" | ||
__copyright__ = ( | ||
"Copyright Daniel W. Davies, Adam J. Jackson, Keith T. Butler (2019)" | ||
) | ||
__copyright__ = "Copyright Daniel W. Davies, Adam J. Jackson, Keith T. Butler (2019)" | ||
__version__ = "2.6" | ||
__maintainer__ = "Anthony O. Onwuli" | ||
__maintaier_email__ = "[email protected]" | ||
__date__ = "July 10 2024" | ||
|
||
import os | ||
import unittest | ||
|
||
from setuptools import Extension, setup | ||
from setuptools import setup | ||
|
||
module_dir = os.path.dirname(os.path.abspath(__file__)) | ||
with open(os.path.join(module_dir, "README.md")) as f: | ||
long_description = f.read() | ||
|
||
if __name__ == "__main__": | ||
setup( | ||
name="SMACT", | ||
version=__version__, | ||
description="Semiconducting Materials by Analogy and Chemical Theory", | ||
long_description=open(os.path.join(module_dir, "README.md")).read(), | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/WMD-group/SMACT", | ||
author=__author__, | ||
|
Oops, something went wrong.