Skip to content

Commit

Permalink
Changed: Version number and copyright updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersulyok committed Jan 1, 2024
1 parent f782756 commit fd3d7c3
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 17 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.1] - 2024-01-01

### Changed
- Copyright updated.

### Fixed
- New version number is required for new PyPI release (release 2.1.0 was deleted on PyPI)


## [2.1.0] - 2024-01-01

### Added
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
project = 'diskinfo'
copyright = '2022-2024, Peter Sulyok'
author = 'Peter Sulyok'
release = '2.1.0'
release = '2.1.1'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "diskinfo"
description = "Disk information Python library for Linux"
readme = "README.md"
version = "2.1.0"
version = "2.1.1"
authors = [
{ name = "Peter Sulyok", email = "[email protected]" }
]
Expand Down
2 changes: 1 addition & 1 deletion src/diskinfo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Package `diskinfo`
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
from diskinfo.disktype import DiskType
from diskinfo.utils import _read_file, _read_udev_property, _read_udev_path, size_in_hrf, time_in_hrf
Expand Down
2 changes: 1 addition & 1 deletion src/diskinfo/demo.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Module `demo`: implements demos for `diskinfo` package.
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
import sys
from rich import print as rprint
Expand Down
2 changes: 1 addition & 1 deletion src/diskinfo/disk.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Module `disk`: implements classes `DiskType` and `Disk`.
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
import glob
import os
Expand Down
2 changes: 1 addition & 1 deletion src/diskinfo/diskinfo.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Module `diskinfo`: implements class `DiskInfo`.
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
import os
from typing import List
Expand Down
2 changes: 1 addition & 1 deletion src/diskinfo/disksmart.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Module `disksmart`: implements classes `DiskSmartData`, SmartAttribute, and NvmeAttributes.
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
from typing import List

Expand Down
2 changes: 1 addition & 1 deletion src/diskinfo/disktype.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Module `disktype`: implements `DiskType` class.
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#

class DiskType:
Expand Down
2 changes: 1 addition & 1 deletion src/diskinfo/partition.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Module `partition`: implements `Partition` class.
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
import os.path
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion src/diskinfo/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Module `utils`: implements utility functions.
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
from typing import List, Tuple

Expand Down
2 changes: 1 addition & 1 deletion test/test_data.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Test data generation
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
import tempfile
import random
Expand Down
2 changes: 1 addition & 1 deletion test/test_data_smart.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Test data generation for SMART.
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
from typing import List
from diskinfo import DiskType, DiskSmartData, SmartAttribute, NvmeAttributes
Expand Down
2 changes: 1 addition & 1 deletion test/test_disk.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Unitest for `disk` module
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
import glob
import os
Expand Down
2 changes: 1 addition & 1 deletion test/test_diskinfo.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Unitest for `diskinfo` module
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
import os
import unittest
Expand Down
2 changes: 1 addition & 1 deletion test/test_disksmart.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Unitest for `disksmart` module
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
import unittest
from test_data_smart import TestSmartData
Expand Down
2 changes: 1 addition & 1 deletion test/test_partition.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Unitest for `partition` module
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
import os
import random
Expand Down
2 changes: 1 addition & 1 deletion test/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Unitest for `utils` module
# Peter Sulyok (C) 2022.
# Peter Sulyok (C) 2022-2024.
#
import unittest
from test_data import TestData
Expand Down

0 comments on commit fd3d7c3

Please sign in to comment.