Skip to content

Commit

Permalink
Revert "U/im/small bug fixes (#407)"
Browse files Browse the repository at this point in the history
This reverts commit a6f562d.
  • Loading branch information
ismael-mendoza committed Mar 3, 2023
1 parent 18cb9b4 commit 2047f4a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: [3.7, 3.8, 3.9, "3.10"]

steps:
- name: Checkout github repo (+ download lfs dependencies)
Expand Down
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ repos:
hooks:
- id: pydocstyle
args:
- --convention=google
- --match="(?!test_).*\.py"
- --config=.pydocstyle.ini
exclude: |
(?x)(
^docs/source/conf.py|
Expand Down
4 changes: 4 additions & 0 deletions .pydocstyle.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[pydocstyle]
inherit = false
convention = google
match = .*\.py
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2014-2021 by the BlendingToolKit contributors on Github at <https://github.com/LSSTDESC/BlendingToolKit>. All rights reserved.
Copyright (c) 2014-2021 by the BlendingToolKit contributors on Github at https://github.com/LSSTDESC/BlendingToolKit. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 4 additions & 1 deletion btk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
providing a framework to test user defined detection/deblending/measurement
algorithms.
"""
from importlib import metadata
try:
from importlib import metadata
except ImportError: # for Python<3.8
import importlib_metadata as metadata

__author__ = "btk developers"
__email__ = "[email protected]"
Expand Down
5 changes: 0 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,3 @@ includes = ["btk"]
[build-system]
build-backend = "pdm.pep517.api"
requires = ["pdm-pep517>=1.0.0"]

[tool.pydocstyle]
convention = "google"
inherit = false
match = "(?!test_).*\\.py"

0 comments on commit 2047f4a

Please sign in to comment.