<commit_before># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

# Regarding pyproject.toml see
# - PEP 517 project metadata https://www.python.org/dev/peps/pep-0517
# - PEP 518 project metadata https://www.python.org/dev/peps/pep-0518
# - PEP 621 project metadata https://www.python.org/dev/peps/pep-0621

# First we define the build-system which we will probably alter the most
[build-system]
# Sync with dependencies!
requires = [
    "setuptools>=46.0",
    "wheel",
    "Cython>=0.28",
    "numpy>=1.13",
]
build-backend = "setuptools.build_meta"

# Top most items are probably changed the most
[project]
requires-python = ">=3.6"

dependencies = [
    "numpy>=1.13",
    "scipy>=0.18",
    "netCDF4",
    "pyparsing>=1.5.7"
]


name = "sisl"
description = "Manipulating of DFT output, geometries and creating tight-binding parameter sets for NEGF transport"
readme = "README.md"
license = {text = "MPL-2.0"}
keywords = ["tight-binding", "DFT", "LCAO", "NEGF", "physics"]

authors = [
    {name = "<NAME>", email = "<EMAIL>apior|at|gmail.<EMAIL>"}
]
maintainers = [{name="sisl developers"}]

# instead one could do [project.urls] homepage = ... ; documentation = ...
urls = [
   {homepage = "https://zerothi.github.io/sisl"},
   {releases = "https://github.com/zerothi/sisl/releases"},
   {documentation = "https://zerothi.github.io/sisl"},
   {repository = "https://github.com/zerothi/sisl"}
]

classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Environment :: Console",
    "Intended Audience :: Science/Research",
    "License :: OSI Approved :: Mozilla Public License v2 (MPLv2)",
    "Operating System :: OS Independent",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.6",
    "Programming Language :: Python :: 3.7",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Cython",
    "Topic :: Scientific/Engineering",
    "Topic :: Scientific/Engineering :: Physics",
    "Topic :: Utilities"
]

# We purposefully get the version dynamically
dynamic = ["version"]

[project.optional-dependencies]

analysis = [
    "xarray >= 0.10.0",
    "tqdm"
]

viz = [
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",
]

viz-plotly = [
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",

    "plotly",
]

viz-matplotlib = [
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",

    "matplotlib",
]

viz-blender = [
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",
]

viz-ase = [
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",

    "ase",
]


test = [
    "pytest",
    "tqdm",
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",
    "matplotlib",
    "plotly",
]


[project.scripts]
sgeom = "sisl.geometry:sgeom"
sgrid = "sisl.grid:sgrid"
sdata = "sisl.utils._sisl_cmd:sisl_cmd"
stoolbox = "sisl_toolbox.cli:stoolbox_cli"

[project.gui_scripts]
# nothing yet


[tool.pytest.ini_options]
testpaths = [
    "sisl"
]
markers = [
    "slow: mark a test as slow",
]

addopts = "-rXs --durations=20"


[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "sisl/_version.py"
versionfile_build = "sisl/_version.py"
tag_prefix = "v"
parentdir_prefix = "sisl-"


[tool.tox]

legacy_tox_ini = """
[tox]
minversion = 3.3.0
envlist = py36,py38,py39
isolated_build = True

[testenv]
setenv =
    SISL_NUM_PROCS=1
    SISL_VIZ_NUM_PROCS=1
deps = -rdocs/requirements.txt
commands = pytest -s -rXs {posargs}
"""
<commit_msg>mnt: added pylint tools<commit_after># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

# Regarding pyproject.toml see
# - PEP 517 project metadata https://www.python.org/dev/peps/pep-0517
# - PEP 518 project metadata https://www.python.org/dev/peps/pep-0518
# - PEP 621 project metadata https://www.python.org/dev/peps/pep-0621

# First we define the build-system which we will probably alter the most
[build-system]
# Sync with dependencies!
requires = [
    "setuptools>=46.0",
    "wheel",
    "Cython>=0.28",
    "numpy>=1.13",
]
build-backend = "setuptools.build_meta"

# Top most items are probably changed the most
[project]
requires-python = ">=3.6"

dependencies = [
    "numpy>=1.13",
    "scipy>=0.18",
    "netCDF4",
    "pyparsing>=1.5.7"
]


name = "sisl"
description = "Manipulating of DFT output, geometries and creating tight-binding parameter sets for NEGF transport"
readme = "README.md"
license = {text = "MPL-2.0"}
keywords = ["tight-binding", "DFT", "LCAO", "NEGF", "physics"]

authors = [
    {name = "<NAME>", email = "<EMAIL>|at|gmail.<EMAIL>"}
]
maintainers = [{name="sisl developers"}]

# instead one could do [project.urls] homepage = ... ; documentation = ...
urls = [
   {homepage = "https://zerothi.github.io/sisl"},
   {releases = "https://github.com/zerothi/sisl/releases"},
   {documentation = "https://zerothi.github.io/sisl"},
   {repository = "https://github.com/zerothi/sisl"}
]

classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Environment :: Console",
    "Intended Audience :: Science/Research",
    "License :: OSI Approved :: Mozilla Public License v2 (MPLv2)",
    "Operating System :: OS Independent",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.6",
    "Programming Language :: Python :: 3.7",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Cython",
    "Topic :: Scientific/Engineering",
    "Topic :: Scientific/Engineering :: Physics",
    "Topic :: Utilities"
]

# We purposefully get the version dynamically
dynamic = ["version"]

[project.optional-dependencies]

analysis = [
    "xarray >= 0.10.0",
    "tqdm"
]

viz = [
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",
]

viz-plotly = [
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",

    "plotly",
]

viz-matplotlib = [
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",

    "matplotlib",
]

viz-blender = [
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",
]

viz-ase = [
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",

    "ase",
]


test = [
    "pytest",
    "tqdm",
    "dill >= 0.3.2",
    "pathos",
    "pandas",
    "xarray >= 0.10.0",
    "scikit-image",
    "matplotlib",
    "plotly",
]


[project.scripts]
sgeom = "sisl.geometry:sgeom"
sgrid = "sisl.grid:sgrid"
sdata = "sisl.utils._sisl_cmd:sisl_cmd"
stoolbox = "sisl_toolbox.cli:stoolbox_cli"

[project.gui_scripts]
# nothing yet


[tool.pytest.ini_options]
testpaths = [
    "sisl"
]
markers = [
    "slow: mark a test as slow",
]

addopts = "-rXs --durations=20"

[tool.pylint.messages_control]
max-line-length = 110

disable = [
  "missing-docstring",
  "unused-argument",
  "no-value-for-parameter",
  "no-member",
  "no-else-return",
  "bad-whitespace",
  "bad-continuation",
  "line-too-long",
  "fixme",
  "protected-access",
  "too-few-public-methods",
]

[tool.pylint]

[tool.pylint.format]
# Currently no formatting rules

[tool.tox]

legacy_tox_ini = """
[tox]
minversion = 3.3.0
envlist = py36,py38,py39
isolated_build = True

[testenv]
setenv =
    SISL_NUM_PROCS=1
    SISL_VIZ_NUM_PROCS=1
deps = -rdocs/requirements.txt
commands = pytest -s -rXs {posargs}
"""


[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "sisl/_version.py"
versionfile_build = "sisl/_version.py"
tag_prefix = "v"
parentdir_prefix = "sisl-"
{'fraction_non_alphanumeric': 0.17442988840368753, 'fraction_numerical': 0.0306889859291606, 'mean_word_length': 3.204487506374299, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 49, 'https://': 16, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '176849', 'n_tokens_mistral': 3360, 'n_tokens_neox': 3160, 'n_words': 680}