content: [build-system]
  requires = ["setuptools"]
  build-backend = "setuptools.build_meta"
  
  [project]
  name = "mne-rsa"
  authors = [
      {name = "Marijn van Vliet", email = "w.m.vanvliet@gmail.com"},
  ]
  description = "Code for performing Representational Similarity Analysis on MNE-Python data structures."
  requires-python = ">=3.7"
  keywords = ["rsa", "meg", "eeg", "neuroimaging", "mne-python"]
  license = "BSD-3-Clause"
  classifiers = [
  	"Intended Audience :: Science/Research",
  	"Intended Audience :: Developers",
  	"Programming Language :: Python",
  	"Topic :: Software Development",
  	"Topic :: Scientific/Engineering",
  	"Operating System :: Microsoft :: Windows",
  	"Operating System :: POSIX",
  	"Operating System :: Unix",
  	"Operating System :: MacOS",
  ]
  dependencies = ["mne", "nibabel", "scikit-learn", "pyvista", "pyside6", "pyvistaqt"]
  dynamic = ["version"]
  
  [project.urls]
  "Homepage" = "https://mne.tools/mne-rsa"
  "Bug Tracker" = "https://github.com/mne-tools/mne-rsa/issues/"
  "Source Code" = "https://github.com/mne-tools/mne-rsa"
  
  [tool.setuptools]
  packages = ["mne_rsa"]
  
  [tool.setuptools.dynamic]
  version = {attr = "mne_rsa.__version__"}
  readme = {file = ["README.rst"]}
  
  [tool.pytest.ini_options]
  addopts = """
      --showlocals --durations=20 --doctest-modules -ra --cov-report=term-missing
      --doctest-ignore-import-errors --junit-xml=junit-results.xml
      --ignore=doc --ignore=examples --ignore=tutorials --cov=mne_rsa
  """
  junit_family = "xunit2"
  
  [tool.ruff]
  exclude = ["__init__.py"]
  line-length = 88
  indent-width = 4
  
  [tool.ruff.lint]
  select = ["E", "F", "D", "W"]
  ignore = ["D107", "D203", "D213"]
  per-file-ignores = {"examples/*.py" = ["D205", "D400", "D415", "D212"]} 
  #ignore = ["W503"]
  
  [tool.ruff.format]
  quote-style = "double"
  
  [tool.rstcheck]
  ignore_directives = [
      "autoclass",
      "autofunction",
      "automodule",
      "autosummary",
  	"currentmodule",
  	"toctree",
  	"include",
   ]
  report_level = "WARNING"
  