Skip to content

Commit

Permalink
Merge pull request #1 from akaihola/rename-darglint2
Browse files Browse the repository at this point in the history
Rename package to `darglint2`
  • Loading branch information
akaihola authored Mar 11, 2023
2 parents abc26b7 + 6d0b25e commit 7d5a992
Show file tree
Hide file tree
Showing 167 changed files with 591 additions and 531 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# From:
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#running-tests-with-tox
#
# Adapted original `darglint/.travis.yml`, see
# https://github.com/akaihola/darglint2/blob/abc26b768cd7135d848223ba53f68323593c33d5/.travis.yml

name: Run Pytest using Tox

on: [push]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest"]
python: ["3.7", "3.8", "3.9"]
include:
- os: "ubuntu-20.04"
python: "3.6"

steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox and any other packages
run: pip install pytest tox
- name: Run tox
# Run tox using the version of Python in `PATH`
run: tox -e py
8 changes: 4 additions & 4 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- id: darglint
name: darglint
description: '`darglint` is a tool for linting python docstrings.'
entry: darglint
- id: darglint2
name: darglint2
description: '`darglint2` is a tool for linting python docstrings.'
entry: darglint2
language: python
types: [python]
require_serial: true
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.0.0]

### Changed

- Renamed the project to `darglint2` while forking it from the archived
[terrencepreilly/darglint](https://github.com/terrencepreilly/darglint) to
[akaihola/darglint2](https://github.com/terrencepreilly/darglint2).


## [1.8.1]

### Added
Expand Down
Loading

0 comments on commit 7d5a992

Please sign in to comment.