Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 15, 2024
1 parent 5d5277b commit 85bfe65
Show file tree
Hide file tree
Showing 34 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/actigraphy/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Entrypoints for the Actigraphy app."""

import logging

from actigraphy import app
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Main app setup for the Actigraphy app."""

import logging

import dash
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/components/app_license.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""License information for the application."""

from dash import html


Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/components/day_slider.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Dash HTML div for a slider component for selecting days."""

import datetime
import itertools
import logging
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/components/file_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
The file selection component contains an input box for the evaluator's name, and
dropdown menu for selecting a subject.
"""

import logging

import dash
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/components/finished_checkbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
The checklist allows the user to indicate whether they are done with the
current participant and would like to proceed to the next one.
"""

import logging

import dash
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/components/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
app. The graph displays the sensor angle and arm movement data for a given day.
The range slider is used to select a sleep window for the given day.
"""

import datetime
import json
import logging
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/components/switches.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
The third switch is used to indicate whether the user needs to review the sleep
data for a particular night.
"""

import logging

import dash
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/components/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utility functions used across components."""

import datetime
import functools
import logging
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/core/callback_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
At the bottom of this file, the global_manager object is created. This object
is used to register callbacks across multiple files.
"""

import dataclasses
import inspect
import logging
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/core/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Command line interface for the actigraphy APP."""

import argparse
import logging
import pathlib
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/core/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Contains the app settings."""

import datetime
import functools
import logging
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/core/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Exceptions for actigraphy."""

import logging
from typing import Any

Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/core/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utility functions for the actigraphy package."""

import datetime
import logging
import os
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/database/crud.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Standard CRUD operations for the database."""

from sqlalchemy import orm

from actigraphy.core import exceptions
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/database/database.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A module for interacting with the SQL database."""

import logging
import pathlib
from collections import abc
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/database/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Database models for the actigraphy database."""

import datetime

import sqlalchemy
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/database/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Standard CRUD operations for the database."""

import datetime
import logging
import pathlib
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/io/ggir_files.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Functions for reading and writing minor files to a format accepted by GGIR."""

import csv
import dataclasses
import datetime
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/io/preprocess.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module for preprocessing actigraphy data."""

import argparse
import logging
import pathlib
Expand Down
1 change: 1 addition & 0 deletions src/actigraphy/plotting/sensor_plots.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module for all plotting functions."""

import bisect
import datetime
import logging
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Pytest configuration file."""

import datetime
from collections.abc import Generator

Expand Down
1 change: 1 addition & 0 deletions tests/unit/components/callback_test_manager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Initialize the callback manager for unit tests."""

from collections.abc import Callable
from typing import Any

Expand Down
1 change: 1 addition & 0 deletions tests/unit/components/test_finished_checkbox.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Unit tests for the finished_checkbox module."""

from sqlalchemy import orm

from actigraphy.database import models
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test___main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Unit tests for the __main__ module."""

from pytest_mock import plugin

from actigraphy import __main__
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Unit tests for the app module."""

from unittest import mock

import dash_bootstrap_components
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the cli module."""

# pylint: disable=protected-access
import argparse
import logging
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Unit tests for the config module."""

import logging

from pytest_mock import plugin
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_core_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests the core utilities."""

import datetime

from actigraphy.core import utils
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_database.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the database module."""

import sqlalchemy

from actigraphy.database import database
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_io.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the IO module."""

# pylint: disable=protected-access
from actigraphy.io import ggir_files

Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_minor_files.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the ggir_files module."""

import pathlib

from actigraphy.io import ggir_files
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the database models."""

import datetime

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_sensor_plots.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Unit tests for the plotting module."""

import datetime

from plotly import graph_objects
Expand Down

0 comments on commit 85bfe65

Please sign in to comment.