From 34554b9137a26173be2f06172138ab82738a04b9 Mon Sep 17 00:00:00 2001 From: Aleks Bekker Date: Fri, 4 Aug 2023 14:47:16 -0400 Subject: [PATCH] Undo metadata change and move flake8 The metadata was a breaking change, so I will instead try to remove other components first, and then come back to the metadata. --- .flake8 | 6 ++++++ pyproject.toml | 42 +++++++++++++++++++++--------------------- setup.cfg | 40 ++++++++++++++++++++-------------------- 3 files changed, 47 insertions(+), 41 deletions(-) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..a9c52cb --- /dev/null +++ b/.flake8 @@ -0,0 +1,6 @@ +[flake8] +ignore = E501,W504 +max-line-length = 120 +per-file-ignores = __init__.py:F401 +inline-quotes = single +multiline-quotes = double diff --git a/pyproject.toml b/pyproject.toml index 637c043..c11d209 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,27 +2,27 @@ requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" -[project] -name = "macta" -version = "0.0.4" -description = "Cell-type annotation tools for MACTA" -keywords = ["cell-type annotation", "single cell"] -authors = [{ name = "Aleksandr Bekker", email = "alekso.bekker@gmail.com" }] -license = { file = "LICENSE" } -classifiers = [ - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3 :: 3.8", - "Programming Language :: Python :: 3 :: 3.9", - "Programming Language :: Python :: 3 :: 3.10", -] -readme = "README.md" -requires-python = ">=3.8" -dependencies = [ - "anndata>=0.8.0", - "pandas>=2.0.0", - "pydantic>=2.0.0", - "scanpy>=1.9.3", -] +# [project] +# name = "macta" +# version = "0.0.4" +# description = "Cell-type annotation tools for MACTA" +# keywords = ["cell-type annotation", "single cell"] +# authors = [{ name = "Aleksandr Bekker", email = "alekso.bekker@gmail.com" }] +# license = { file = "LICENSE" } +# classifiers = [ +# "Programming Language :: Python :: 3 :: Only", +# "Programming Language :: Python :: 3 :: 3.8", +# "Programming Language :: Python :: 3 :: 3.9", +# "Programming Language :: Python :: 3 :: 3.10", +# ] +# readme = "README.md" +# requires-python = ">=3.8" +# dependencies = [ +# "anndata>=0.8.0", +# "pandas>=2.0.0", +# "pydantic>=2.0.0", +# "scanpy>=1.9.3", +# ] [tool.pytest.ini_options] addopts = "--cov=macta" diff --git a/setup.cfg b/setup.cfg index 9382481..562da79 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,17 +1,17 @@ -; [metadata] -; name = macta -; version = 0.0.4 -; description = annotation tools for MACTA -; author = 'Aleksandr Bekker' -; author_email = 'alekso.bekker@gmail.com' -; license = GPL3 -; license_file = LICENSE -; platforms = unix, linux, osx, cygwin, win32 -; classifiers = -; Programming Language :: Python :: 3 :: Only -; Programming Language :: Python :: 3.8 -; Programming Language :: Python :: 3.9 -; Programming Language :: Python :: 3.10 +[metadata] +name = macta +version = 0.0.4 +description = annotation tools for MACTA +author = 'Aleksandr Bekker' +author_email = 'alekso.bekker@gmail.com' +license = GPL3 +license_file = LICENSE +platforms = unix, linux, osx, cygwin, win32 +classifiers = + Programming Language :: Python :: 3 :: Only + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 [options] package_dir = @@ -43,9 +43,9 @@ testing = [options.package_data] macta = py.typed -[flake8] -ignore = E501,W504 -max-line-length = 120 -per-file-ignores = __init__.py:F401 -inline-quotes = single -multiline-quotes = double +; [flake8] +; ignore = E501,W504 +; max-line-length = 120 +; per-file-ignores = __init__.py:F401 +; inline-quotes = single +; multiline-quotes = double