Skip to content

Commit

Permalink
Undo metadata change and move flake8
Browse files Browse the repository at this point in the history
The metadata was a breaking change, so I will instead try to remove
other components first, and then come back to the metadata.
  • Loading branch information
AleksBekker committed Aug 4, 2023
1 parent aaf895d commit 34554b9
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 41 deletions.
6 changes: 6 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[flake8]
ignore = E501,W504
max-line-length = 120
per-file-ignores = __init__.py:F401
inline-quotes = single
multiline-quotes = double
42 changes: 21 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
40 changes: 20 additions & 20 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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 =
Expand Down Expand Up @@ -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

0 comments on commit 34554b9

Please sign in to comment.