Skip to content

Commit e83ec19

Browse files
authored
Merge pull request #65 from the-dotify-project/development
Fixing various flake8 errors
2 parents 6a28e9a + 74da914 commit e83ec19

31 files changed

+684
-589
lines changed

.all-contributorsrc

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"files": [
3-
"README.md"
4-
],
5-
"imageSize": 100,
6-
"commit": false,
7-
"contributors": [
8-
{
9-
"login": "billsioros",
10-
"name": "Vasilis Sioros",
11-
"avatar_url": "https://avatars.githubusercontent.com/u/33862937?v=4",
12-
"profile": "https://www.linkedin.com/in/vasileios-sioros/",
13-
"contributions": [
14-
"maintenance",
15-
"projectManagement",
16-
"doc"
17-
]
18-
}
19-
],
20-
"contributorsPerLine": 7,
21-
"projectName": "dotify",
22-
"projectOwner": "billsioros",
23-
"repoType": "github",
24-
"repoHost": "https://github.com",
25-
"skipCi": true
2+
"files": [
3+
"README.md"
4+
],
5+
"imageSize": 100,
6+
"commit": false,
7+
"contributors": [
8+
{
9+
"login": "billsioros",
10+
"name": "Vasilis Sioros",
11+
"avatar_url": "https://avatars.githubusercontent.com/u/33862937?v=4",
12+
"profile": "https://www.linkedin.com/in/vasileios-sioros/",
13+
"contributions": [
14+
"maintenance",
15+
"projectManagement",
16+
"doc"
17+
]
18+
}
19+
],
20+
"contributorsPerLine": 7,
21+
"projectName": "dotify",
22+
"projectOwner": "billsioros",
23+
"repoType": "github",
24+
"repoHost": "https://github.com",
25+
"skipCi": true
2626
}

.flake8

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
11
[flake8]
22
max-line-length = 99
3-
# This ignore is required by black.
4-
extend-ignore = E203
3+
exclude =
4+
.git
5+
.github
6+
.mypy_cache
7+
.pytest_cache
8+
.tox
9+
.vscode
10+
build
11+
dist
12+
docs
13+
examples
14+
__pycache__
15+
extend-ignore =
16+
E203,
17+
WPS431,
18+
Q000,
19+
WPS529,
20+
WPS110,
21+
N801,
22+
N805,
23+
WPS221,
24+
WPS226,
25+
WPS231,
26+
WPS609,
27+
WPS603,
28+
WPS437,
29+
WPS433,
30+
WPS412,
31+
WPS410,
32+
WPS323

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Q&A
4-
url: https://github.com/billsioros/dotify/discussions/categories/q-a
4+
url: https://github.com/the-dotify-project/dotify/discussions/categories/q-a
55
about: Please ask and answer questions here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
- [ ] My code follows the code style of this project.
3232
- [ ] My change requires a change to the documentation.
3333
- [ ] I have updated the documentation accordingly.
34-
- [ ] I have read the project's [contributing guidelines](/CONTRIBUTING.md).
34+
- [ ] I have read the project's [contributing guidelines](/docs/CONTRIBUTING.md).
3535
- [ ] I have added tests to cover my changes.
3636
- [ ] All new and existing tests passed.

.pre-commit-config.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
repos:
2-
- repo: https://github.com/asottile/pyupgrade
3-
rev: v2.14.0
4-
hooks:
5-
- id: pyupgrade
6-
args: ["--py38-plus"]
72
- repo: https://github.com/pycqa/isort
83
rev: 5.8.0
94
hooks:
105
- id: isort
116
- repo: https://github.com/psf/black
12-
rev: 20.8b1
7+
rev: 21.5b1
138
hooks:
149
- id: black
1510
language_version: python3
@@ -31,7 +26,8 @@ repos:
3126
rev: v0.812
3227
hooks:
3328
- id: mypy
34-
args: [--ignore-missing-imports]
29+
args: [--config, .mypy.ini]
30+
files: ^dotify|tests/
3531
- repo: https://github.com/commitizen-tools/commitizen
3632
rev: v2.17.6
3733
hooks:

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## v0.3.8 (2021-05-01)
1111
### Fix
12-
* **model.py:** `context` now does not throw ([`82f93d9`](https://github.com/billsioros/dotify/commit/82f93d92e16860e3dd751125e0c5f72125781231))
12+
* **model.py:** `context` now does not throw ([`82f93d9`](https://github.com/the-dotify-project/dotify/commit/82f93d92e16860e3dd751125e0c5f72125781231))
1313

1414
### Documentation
15-
* **README.md:** Added `docs` link & badge ([`42d4abe`](https://github.com/billsioros/dotify/commit/42d4abe9b050f0cca20db6ea002e3cea07dcb6ab))
15+
* **README.md:** Added `docs` link & badge ([`42d4abe`](https://github.com/the-dotify-project/dotify/commit/42d4abe9b050f0cca20db6ea002e3cea07dcb6ab))
1616

17-
**[See all commits in this version](https://github.com/billsioros/dotify/compare/v0.3.5...v0.3.8)**
17+
**[See all commits in this version](https://github.com/the-dotify-project/dotify/compare/v0.3.5...v0.3.8)**
1818

1919
## v0.3.5 (2021-04-27)
2020
### Fix
21-
* **publish.yml:** Publishing via another gh-action ([`8487eb7`](https://github.com/billsioros/dotify/commit/8487eb7dc5f24ede32f5300f6f0d640fd0b21c0c))
21+
* **publish.yml:** Publishing via another gh-action ([`8487eb7`](https://github.com/the-dotify-project/dotify/commit/8487eb7dc5f24ede32f5300f6f0d640fd0b21c0c))
2222

23-
**[See all commits in this version](https://github.com/billsioros/dotify/compare/v0.1.5...v0.3.5)**
23+
**[See all commits in this version](https://github.com/the-dotify-project/dotify/compare/v0.1.5...v0.3.5)**
2424

2525
## v0.1.5 (2021-04-17)
2626
### Feature
2727

2828
- Enabled automatic releases via [GitHub Actions](.github/workflows/publish.yml)
2929
- Enabled automatic `Changelog` generation via [GitHub Actions](.github/workflows/generate-changelog.yml)
3030

31-
**[See all commits in this version](https://github.com/billsioros/dotify/compare/v0.1.4...v0.1.5)**
31+
**[See all commits in this version](https://github.com/the-dotify-project/dotify/compare/v0.1.4...v0.1.5)**
3232

3333
## v0.1.4 (2021-04-17)
3434

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Dotify](https://raw.githubusercontent.com/billsioros/dotify/master/docs/img/logo.png)
1+
![Dotify](https://raw.githubusercontent.com/the-dotify-project/dotify/master/docs/img/logo.png)
22

33
<p align="center">
44
<a href="https://www.python.org/">
@@ -13,25 +13,25 @@
1313
alt="PyPI"
1414
/>
1515
</a>
16-
<a href="https://github.com/billsioros/dotify/actions/workflows/ci.yml">
16+
<a href="https://github.com/the-dotify-project/dotify/actions/workflows/ci.yml">
1717
<img
18-
src="https://github.com/billsioros/dotify/actions/workflows/ci.yml/badge.svg"
18+
src="https://github.com/the-dotify-project/dotify/actions/workflows/ci.yml/badge.svg"
1919
alt="CI"
2020
/>
2121
</a>
22-
<a href="https://billsioros.github.io/dotify/">
22+
<a href="https://the-dotify-project.github.io/dotify/">
2323
<img
24-
src="https://github.com/billsioros/dotify/actions/workflows/docs.yml/badge.svg"
24+
src="https://github.com/the-dotify-project/dotify/actions/workflows/docs.yml/badge.svg"
2525
alt="docs"
2626
/>
2727
</a>
28-
<a href="https://codeclimate.com/github/billsioros/dotify/maintainability">
28+
<a href="https://codeclimate.com/github/the-dotify-project/dotify/maintainability">
2929
<img
3030
src="https://api.codeclimate.com/v1/badges/573685a448c6422d49de/maintainability"
3131
alt="Maintainability"
3232
/>
3333
</a>
34-
<a href="https://codeclimate.com/github/billsioros/dotify/test_coverage">
34+
<a href="https://codeclimate.com/github/the-dotify-project/dotify/test_coverage">
3535
<img
3636
src="https://api.codeclimate.com/v1/badges/573685a448c6422d49de/test_coverage"
3737
alt="Test Coverage"
@@ -43,9 +43,9 @@
4343
alt="PyPI - License"
4444
/>
4545
</a>
46-
<a href="https://github.com/billsioros/dotify/commits">
46+
<a href="https://github.com/the-dotify-project/dotify/commits">
4747
<img
48-
src="https://img.shields.io/github/commits-since/billsioros/dotify/latest?style=flat-square"
48+
src="https://img.shields.io/github/commits-since/the-dotify-project/dotify/latest?style=flat-square"
4949
alt="GitHub commits since latest release (by SemVer)"
5050
/>
5151
</a>
@@ -67,7 +67,7 @@
6767
PosixPath('SAINt JHN - 5 Thousand Singles.mp3')
6868
```
6969

70-
Feel free to check the [examples](/examples) folder for more use cases!
70+
Feel free to check the [examples](https://github.com/the-dotify-project/dotify/tree/master/examples) folder for more use cases!
7171

7272
## Features
7373

@@ -82,7 +82,7 @@ Feel free to check the [examples](/examples) folder for more use cases!
8282

8383
## Documentation
8484

85-
The project's documentation can be found [here](https://billsioros.github.io/dotify/).
85+
The project's documentation can be found [here](https://the-dotify-project.github.io/dotify/).
8686

8787
## Installation
8888

@@ -92,7 +92,7 @@ pip install dotify
9292

9393
## Contributing
9494

95-
If you would like to contribute to the project, please go through the [Contributing Guidelines](https://billsioros.github.io/dotify/contributing) first.
95+
If you would like to contribute to the project, please go through the [Contributing Guidelines](/docs/CONTRIBUTING.md) first.
9696

9797
## Contributors ✨
9898

File renamed without changes.

CONTRIBUTING.md renamed to docs/CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ This project follows the [all-contributors](https://allcontributors.org/) specif
88

99
## Code of Conduct
1010

11-
By participating and contributing to this project, you agree to uphold our [Code of Conduct](/CODE_OF_CONDUCT.md).
11+
By participating and contributing to this project, you agree to uphold our [Code of Conduct](CODE_OF_CONDUCT.md).
1212

1313
## Getting Help
1414

15-
In case all you need is an answer to a question, please refrain from opening an issue and instead visit the project's [discussion page](https://github.com/billsioros/dotify/discussions/categories/q-a).
15+
In case all you need is an answer to a question, please refrain from opening an issue and instead visit the project's [discussion page](https://github.com/the-dotify-project/dotify/discussions/categories/q-a).
1616

1717
## Getting Started
1818

@@ -34,9 +34,9 @@ PRs can be a quick way to get your fix or improvement slated for the next releas
3434
- Only fix/add the functionality in question **OR** address wide-spread whitespace/style issues, not both.
3535
- Address a single concern in the least number of changed lines as possible.
3636
- Be accompanied by a complete Pull Request template (loaded automatically when a PR is created).
37-
- Add [unit or integration tests](/tests) for added or changed functionality.
37+
- Add [unit or integration tests](https://github.com/the-dotify-project/dotify/tree/master/examples) for added or changed functionality.
3838
- Any code related changes should be accompanied by corresponding changes to the project's documentation.
39-
- If your pull request introduces a new feature, the corresponding `README` [section](/README.md#features) must be updated to reflect this. Make sure you also include [an example](/examples), showcasing this new functionality.
39+
- If your pull request introduces a new feature, the corresponding `README` [section](/README.md#features) must be updated to reflect this. Make sure you also include [an example](https://github.com/the-dotify-project/dotify/tree/master/examples), showcasing this new functionality.
4040
- Write clear, concise commit message(s) using [conventional-changelog format](https://github.com/conventional-changelog/conventional-changelog-angular/blob/master/convention.md). [Why?](#writing-your-commit-message)
4141
- If your PR is connected to an open issue, add a line in your PR's description that says `Fixes: #123`, where `#123` is the number of the issue you're fixing.
4242

@@ -49,7 +49,7 @@ In general, we follow the ["fork-and-pull" Git workflow](https://github.com/susa
4949
3. Create a branch locally with a succinct but descriptive name
5050
4. Commit changes to the branch
5151
5. Push changes to your fork
52-
6. [Open a PR in our repository](https://github.com/billsioros/dotify/compare) and follow the PR template so that we can efficiently review the changes
52+
6. [Open a PR in our repository](https://github.com/the-dotify-project/dotify/compare) and follow the PR template so that we can efficiently review the changes
5353

5454
## Setting up a local development environment
5555

@@ -83,7 +83,7 @@ _**ATTENTION**: Even though, using a JSON file is far more convenient than re-ex
8383

8484
### Installing pre-commit hooks
8585

86-
The project utilizes the [pre-commit](https://pre-commit.com/) framework. Having [created a virtual environment and installed the required dependencies](#installing-poetry), you may run `pre-commit install` to install the [git hook scripts](/.pre-commit-config.yaml).
86+
The project utilizes the [pre-commit](https://pre-commit.com/) framework. Having [created a virtual environment and installed the required dependencies](#installing-poetry), you may run `pre-commit install` to install the [git hook scripts](https://github.com/the-dotify-project/dotify/blob/master/.pre-commit-config.yaml).
8787

8888
### Formatting, Linting and Testing
8989

@@ -118,7 +118,7 @@ Having made your changes, please run `mkdocs server` and make sure that no error
118118

119119
### Writing your commit message
120120

121-
The project's version number and [Changelog](/CHANGELOG.md), depend on a consistent commit history. As a result, your commit message's format is extremely important. Before opening a pull request, please make sure that your commits strictly follow the [conventional-changelog format](https://github.com/conventional-changelog/conventional-changelog-angular/blob/master/convention.md).
121+
The project's version number and [Changelog](https://github.com/the-dotify-project/dotify/blob/master/CHANGELOG.md), depend on a consistent commit history. As a result, your commit message's format is extremely important. Before opening a pull request, please make sure that your commits strictly follow the [conventional-changelog format](https://github.com/conventional-changelog/conventional-changelog-angular/blob/master/convention.md).
122122

123123
### Creating a pull request
124124

docs/code_of_conduct.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)