Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
84cf7d1
Improve log message for unknown timezone
htgoebel Nov 29, 2021
f0d9e29
Initial, no-content, Sphinx structure.
da4089 Mar 25, 2024
1351634
Work on programmer's guide.
da4089 Mar 26, 2024
a8087f8
Included change log in source dist.
da4089 Mar 30, 2024
5b3ec62
First draft of "Quick Start" chapter.
da4089 Mar 31, 2024
291cc43
Updated the installation chapter.
da4089 Mar 31, 2024
6c86744
Fix ``foo`` code format markup.
da4089 Mar 31, 2024
113c3d5
Cleanup and source code formatting.
da4089 Mar 31, 2024
ef7d80c
Restructured to put model discussion before parsing.
da4089 Apr 9, 2024
f9b8bf0
Fix broken text.
da4089 Apr 10, 2024
8c1f624
Merge branch 'master' into prog-guide
da4089 Nov 22, 2024
501e8b2
remove six
MeggyCal Dec 19, 2024
72ad96c
Merge pull request #87 from MeggyCal/master
da4089 Dec 19, 2024
42a1f4a
Switch from unittest to pytest.
da4089 Dec 19, 2024
d4aaac3
Merge branch 'py-vobject:master' into master
da4089 Dec 19, 2024
ed6d9d8
Update actions to use pytest.
da4089 Dec 19, 2024
38defb3
Merge pull request #88 from da4089/master
da4089 Dec 19, 2024
321940e
Assert that timezone loading is successful before use in tests.
da4089 Dec 19, 2024
aab9e0d
Correct case of timezone names.
da4089 Dec 19, 2024
afeaef2
Merge pull request #89 from da4089/master
da4089 Dec 19, 2024
704c23c
Automate date and version number.
da4089 Dec 19, 2024
2dd1f04
Minor edits.
da4089 Dec 19, 2024
43223ae
Merge pull request #90 from da4089/prog-guide
da4089 Dec 19, 2024
662db24
Add a readthedocs configuration to build the programmer's guide.
da4089 Jan 3, 2025
d5c15b5
Add options for sidebar.
da4089 Jan 3, 2025
9fe5fb5
Merge pull request #10 from htgoebel/patch-1
da4089 Jan 3, 2025
05f2ea4
Add some missing info to the project file.
da4089 Jan 3, 2025
f10c05e
Merge branch 'py-vobject:master' into master
da4089 Jan 3, 2025
af4b13d
Merge pull request #92 from da4089/master
da4089 Jan 3, 2025
9754d98
Fix project file issues.
da4089 Jan 5, 2025
61df3c7
Update changelog for recent releases.
da4089 Jan 5, 2025
b233dfe
Added pre-commit
rsb-23 Jan 6, 2025
e886890
black and isort fixes
rsb-23 Jan 6, 2025
f040463
flake8 fixes except E721
rsb-23 Jan 6, 2025
cfe3ed6
Additional formatting
rsb-23 Jan 6, 2025
06a1e42
Added pre-commit workflow
rsb-23 Jan 6, 2025
e77c15d
Review fixes
rsb-23 Jan 9, 2025
d97cb1d
Merge pull request #93 from rsb-23/linting/1-add-pre-commit
da4089 Jan 9, 2025
7cc72c1
Enabled pylint
rsb-23 Jan 14, 2025
1d863b4
Fixed errors and few warnings
rsb-23 Jan 14, 2025
02f39d0
pylint fixes part 2
rsb-23 Jan 14, 2025
ea2e7e8
Python new syntax fixes
rsb-23 Jan 14, 2025
ef757b5
linting lines size and count
rsb-23 Jan 15, 2025
27bec6b
Added workflow and argparse
rsb-23 Jan 15, 2025
1f56ee8
Fixed parser handling
rsb-23 Jan 21, 2025
bcc8018
py38 compatibility fix
rsb-23 Jan 21, 2025
c00c587
Merge pull request #96 from rsb-23/linting/2-add-pylint
da4089 Jan 22, 2025
ca9650e
Replace (most) uses of string.format with f-strings.
da4089 Jan 29, 2025
159f12d
Remove uses of string.format from the parsing regexes.
da4089 Jan 29, 2025
474ee61
Remove suppression of f-string conversion warnings.
da4089 Jan 29, 2025
56d1aa7
Fix missing f-prefix.
da4089 Jan 30, 2025
3876107
Add original Versit specifications for vCard 2.1 and vCalendar 1.0.
da4089 Jan 30, 2025
1008f69
Merge pull request #104 from da4089/add-vcal-spec
da4089 Jan 31, 2025
8106487
Format hack for black.
da4089 Jan 31, 2025
2094c71
Merge pull request #103 from py-vobject/98-remove-python2-remnants
da4089 Jan 31, 2025
3814128
Change unit test to use "America/New_York" time zone name.
da4089 Feb 1, 2025
29034e1
Merge pull request #108 from py-vobject/107-running-test_icalendarpyt…
da4089 Feb 1, 2025
e026969
Convert to use Unix-style (LF) line endings (was DOS-style, CRLF).
da4089 Feb 1, 2025
a9c15c7
Remove unused test files (that also use CRLF line-endings).
da4089 Feb 1, 2025
3ba23cb
DOS batch files should always have CRLF line endings.
da4089 Feb 1, 2025
0e6ffcd
Fix discovered typo.
da4089 Feb 1, 2025
e2403a2
Merge pull request #109 from py-vobject/fix-endianness
da4089 Feb 1, 2025
5e3be85
Update README.md
SSPJ Apr 7, 2025
821104e
Begin support for vcard 4.0
SSPJ Apr 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Auto detect text files and perform LF normalization
* text eol=lf
*.pdf binary
*.bat eol=crlf
25 changes: 25 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Code Lint Check

on:
pull_request:
push:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5.1.1
with:
python-version: 3.9
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit pylint

- name: Run pre-commit
env:
SKIP: mypy,no-commit-to-branch
run: pre-commit run --all-files
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
run: |
python -m pip install --upgrade flit pip wheel
python -m pip install --upgrade flit pip wheel pytest
pip install -e .['dev']
- name: Run Tests
run: |
python tests.py
pytest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ venv/**/*
*.sublime-*
.coverage
venv*
programmers-guide/build
38 changes: 38 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
- id: no-commit-to-branch
args: [ -b, main, -b, master ]

- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies: [ flake8-pyproject ]

- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [ python ]
args:
[
"-rn", # Only display messages
"-sn", # Don't display the score
]
39 changes: 39 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[MASTER]
jobs=2
ignore-paths=(?!(vobject|tests))/*

[FORMAT]
max-line-length = 130

[REFACTORING]
max-args = 8
max-attributes = 9
max-bool-expr = 6
max-branches = 32
max-locals = 31
max-module-lines = 1200
max-nested-blocks = 6
max-positional-arguments = 8
max-statements = 95

[MESSAGES CONTROL]
disable=
I,
import-error,
# W
fixme,
keyword-arg-before-vararg,
logging-format-interpolation,
protected-access,
raise-missing-from,
unspecified-encoding,
unused-argument,
# C
import-outside-toplevel,
invalid-name,
missing-docstring,
unidiomatic-typecheck,
# R
duplicate-code,
no-else-return,
too-few-public-methods,
24 changes: 24 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version, and other tools you might need
build:
os: ubuntu-lts-latest
tools:
python: "3.13"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: programmers-guide/source/conf.py

# declare the Python requirements required to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- method: pip
path: .
extra_requirements:
- dev
18 changes: 9 additions & 9 deletions ACKNOWLEDGEMENTS.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Enormous thanks to:
Jeffrey Harris, for his incredible work on the original package
Tim Baxter, for all his work maintaining vobject over the past few years
Adieu, for keeping things alive on github
Kristian Glass, for his enormous help with testing and Python3 matters
Gustavo Niemeyer, for all his work on dateutil
Dave Cridland, for helping talk about vobject and working on vcard
TJ Gabbour, for putting his heart into parsing
Sameen Karim and Will Percival, for maintaining the package at Eventable.
Enormous thanks to:
Jeffrey Harris, for his incredible work on the original package
Tim Baxter, for all his work maintaining vobject over the past few years
Adieu, for keeping things alive on github
Kristian Glass, for his enormous help with testing and Python3 matters
Gustavo Niemeyer, for all his work on dateutil
Dave Cridland, for helping talk about vobject and working on vcard
TJ Gabbour, for putting his heart into parsing
Sameen Karim and Will Percival, for maintaining the package at Eventable.
Loading