Skip to content

Commit

Permalink
Initial commit after pypistats fork
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jun 15, 2021
1 parent c83b017 commit 2095ff1
Show file tree
Hide file tree
Showing 33 changed files with 779 additions and 3,810 deletions.
28 changes: 0 additions & 28 deletions .azure-pipelines/jobs/lint.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .azure-pipelines/jobs/test.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ exclude_lines =
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.:
def main

[run]
omit =
src/norwegianblue/cli.py
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ indent_size = 4
indent_style = space
trim_trailing_whitespace = true

[expected_tabulated.py]
[expected_output.py]
trim_trailing_whitespace = false

# Two-space indentation
Expand Down
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ updates:
labels:
- "changelog: skip"
- dependencies
ignore:
- dependency-name: respx
versions:
- 0.17.0
- package-ecosystem: github-actions
directory: "/"
schedule:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Deploy
on:
push:
branches:
- master
- main
release:
types:
- published

jobs:
build:
if: github.repository == 'hugovk/pypistats'
if: github.repository == 'hugovk/norwegianblue'
runs-on: ubuntu-20.04

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Sync labels
on:
push:
branches:
- master
- main
paths:
- .github/labels.yml
jobs:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master
- main

jobs:
update_release_draft:
if: github.repository == 'hugovk/pypistats'
if: github.repository == 'hugovk/norwegianblue'
runs-on: ubuntu-latest
steps:
# Drafts your next release notes as pull requests are merged into "master"
# Drafts your next release notes as pull requests are merged into "main"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.9, 3.10-dev]
os: [ubuntu-20.04, ubuntu-18.04, macos-latest, windows-latest]
include:
# Include new variables for Codecov
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
tox -e py
- name: Tox tests (pins)
if: matrix.python-version == '3.8' && matrix.os == 'ubuntu-18.04'
if: matrix.python-version == '3.9' && matrix.os == 'ubuntu-18.04'
shell: bash
run: |
tox -e pins
Expand Down
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ repos:
rev: v2.14.0
hooks:
- id: pyupgrade
args: ["--py36-plus"]
args: ["--py39-plus"]

- repo: https://github.com/psf/black
rev: 21.5b0
hooks:
- id: black
args: ["--target-version", "py36"]
args: ["--target-version", "py39"]
# override until resolved: https://github.com/psf/black/issues/402
files: \.pyi?$
types: []
Expand Down Expand Up @@ -42,6 +42,7 @@ repos:
rev: v1.17.0
hooks:
- id: setup-cfg-fmt
args: [--min-py3-version=3.9]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.2.1
Expand Down
Loading

0 comments on commit 2095ff1

Please sign in to comment.