Skip to content

Commit

Permalink
Merge pull request #75 from astrofrog/csv
Browse files Browse the repository at this point in the history
Add support for csv and modernise code
  • Loading branch information
astrofrog authored Apr 26, 2024
2 parents f8e631a + 5c82b34 commit 6eac2c2
Show file tree
Hide file tree
Showing 7 changed files with 199 additions and 130 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,5 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

psrecord/_version.py
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ci:
autofix_prs: false
autoupdate_schedule: 'monthly'

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.3.4"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
- id: ruff-format
5 changes: 3 additions & 2 deletions psrecord/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# POSSIBILITY OF SUCH DAMAGE.

from .main import main # noqa
from .main import monitor
from .main import monitor # noqa
from ._version import __version__ # noqa

__version__ = '1.3.dev0'
__all__ = ["main", "monitor", "__version__"]
4 changes: 2 additions & 2 deletions psrecord/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.

from .main import main # noqa
from .main import main

__version__ = '1.3.dev0'
__version__ = "1.3.dev0"
main()
Loading

0 comments on commit 6eac2c2

Please sign in to comment.