Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Bump docutils from 0.17.1 to 0.21.2 #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# See LICENSE file for copyright and license information
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
36 changes: 36 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See LICENSE file for copyright and license information
name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
analyze:
name: Analyze (python)
runs-on: 'ubuntu-latest'
timeout-minutes: 360
permissions:
security-events: write
packages: read

strategy:
fail-fast: false

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: python
build-mode: none

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:python"
36 changes: 36 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See LICENSE file for copyright and license information
name: Python package

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Lint with pylint, vulture
run: |
pylint nncli tests --disable=parse-error
vulture nncli .vulture_whitelist.py
- name: Test with mypy
run: python -m pytest
- name: Build
run: |
flit build
make -C docs html man
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# See LICENSE file for copyright and license information
name: Python release

on:
push:
tags: [ "v*" ]

jobs:
release:

runs-on: ubuntu-latest
environment: release
permissions:
id-token: write

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Build package
run: |
python -m pip install build
python -m build
- name: Publish to Pypi
uses: pypa/gh-action-pypi-publish@release/v1
44 changes: 0 additions & 44 deletions .travis.yml

This file was deleted.

30 changes: 10 additions & 20 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,30 +64,20 @@ updating requirements files.
Discussion and Requests
-----------------------

All discussion takes place on the public `mailing list`_. The list's
archive can be found at https://lists.danielmoch.com/nncli-dev. Emails
can be sent to the following addresses to manage your subscription to
the mailing list.
All discussion takes place on the `issue tracker`_.

- nncli-dev+subscribe@
- nncli-dev+unsubscribe@
- nncli-dev+help@

Patches and pull requests are welcome, preferably via emailed output
of `git-request-pull(1)`_ sent to the mailing list. Bug reports should
also be directed to the mailing list.

If you aren't hosting a fork anywhere online, you can also send patches
using `git-format-patch(1)`_.
Pull requests are welcome.

Releases
--------

Releases are published to PyPI_. Signed source tarballs are maintained
at https://dl.danielmoch.com/nncli. Instructions for verifying
tarballs are in the README file at the previous link.
Releases are published to PyPI_.
Signed source tarballs are maintained on the `releases page`_.
Archives are signed with `signify`.
To support the use of `minisign`, which is compatable with `signify`,
detached signatures will be created.
Signature files are indicated with a .minisig extension.

.. _PyPI: https://pypi.org/project/nncli/
.. _mailing list: nncli-dev@danielmoch.com
.. _git-format-patch(1): https://www.git-scm.com/docs/git-format-patch
.. _git-request-pull(1): https://www.git-scm.com/docs/git-request-pull
.. _issue tracker: https://github.com/djmoch/nncli/issues
.. _releases page: https://github.com/djmoch/nncli/releases
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
'color_accent': 'blue',

# Set the repo location to get a badge with stats
'repo_url': 'https://git.danielmoch.com/nncli/',
'repo_url': 'https://github.com/djmoch/nncli/',
'repo_name': 'Git Repository',
'repo_type': None,

Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ NextCloud Notes Command Line Interface

.. image:: https://img.shields.io/pypi/l/nncli.svg
:alt: PyPI - License
:target: https://git.danielmoch.com/nncli/tree/LICENSE
:target: https://github.com/djmoch/nncli/blob/master/LICENSE
.. image:: https://img.shields.io/pypi/v/nncli.svg
:alt: PyPI
:target: https://pypi.org/project/nncli
Expand Down
30 changes: 2 additions & 28 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [
{name = "Daniel Moch", email = "daniel@danielmoch.com"},
]
readme = "README.rst"
requires-python = ">=3"
requires-python = ">=3.9"
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
Expand All @@ -28,7 +28,7 @@ dynamic = [ "version", "description" ]

[project.urls]
Homepage = "https://nncli.org"
"Source Code" = "https://git.danielmoch.com/nncli"
"Source Code" = "https://github.com/djmoch/nncli"

[project.optional-dependencies]
dev = [
Expand Down Expand Up @@ -64,29 +64,3 @@ show_missing = true

[tool.pytest.ini_options]
mock_use_standalone_module = true

[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37, py38, py39, py310, pylint, coverage
skipsdist = True

[testenv:pylint]
deps = -rrequirements-dev.txt
allowlist_externals = make
commands =
make lint

[testenv:coverage]
deps = -rrequirements-dev.txt
allowlist_externals = make
commands =
make coverage

[testenv]
deps = -rrequirements-dev.txt
allowlist_externals = make
commands =
make install
python -m pytest
"""
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ css-html-js-minify==2.5.5 \
--hash=sha256:3da9d35ac0db8ca648c1b543e0e801d7ca0bab9e6bfd8418fee59d5ae001727a \
--hash=sha256:4a9f11f7e0496f5284d12111f3ba4ff5ff2023d12f15d195c9c48bd97013746c
# via sphinx-material
docutils==0.17.1 \
--hash=sha256:686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125 \
--hash=sha256:cf316c8370a737a022b72b56874f6602acf974a37a9fba42ec2876387549fc61
docutils==0.21.2 \
--hash=sha256:3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f \
--hash=sha256:dafca5b9e384f0e419294eb4d2ff9fa826435bf15f15b7bd45723e8ad76811b2
# via
# flit
# sphinx
Expand Down
2 changes: 1 addition & 1 deletion src/nncli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
"""NextCloud Notes Command Line Interface"""

__version__ = '0.3.7'
__version__ = '0.3.8'
Loading