Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Nov 30, 2021
1 parent ac951c8 commit 352983b
Show file tree
Hide file tree
Showing 35 changed files with 215 additions and 260 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/test-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ stages:
docker: '17.09.0'
registry: '0'
pytest-arg: 'tests/test_integration.py'

pool:
vmImage: $[ variables['image'] ]

Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- [ ] Documentation reflects the changes
- [ ] If you provide code modification, please add yourself to `CONTRIBUTORS.txt`
* The format is <Name> <Surname>.
* Please keep alphabetical order, the file is sorted by names.
* Please keep alphabetical order, the file is sorted by names.
- [ ] Add a new news fragment into the `changes` folder
* name it `<issue_id>.<type>` for example (588.bug)
* if you don't have an `issue_id` change it to the pr id after creating the pr
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ docs/_build
.mypy_cache
.python-version
.pytest_cache
pip-wheel-metadata
pip-wheel-metadata
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repos:
- id: detect-aws-credentials
args: ['--allow-missing-credentials']
- id: detect-private-key
exclude: ^examples/
exclude: ^tests/certs/
- repo: https://github.com/asottile/pyupgrade
rev: 'v2.29.0'
hooks:
Expand Down
2 changes: 1 addition & 1 deletion CHANGES/623.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Add support for filters when listing networks.
Add support for filters when listing volumes.
Add get option for fetching volumes by name or id.
Add get option for fetching volumes by name or id.
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ Examples
loop.run_until_complete(list_things())
loop.run_until_complete(run_container())
loop.close()
59 changes: 0 additions & 59 deletions RELEASE_PROCEDURE.rst

This file was deleted.

4 changes: 2 additions & 2 deletions aiodocker/execs.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def start(
) -> Stream:
pass

@overload # noqa
@overload
async def start(
self,
*,
Expand All @@ -66,7 +66,7 @@ async def start(
) -> bytes:
pass

def start(self, *, timeout=None, detach=False): # noqa
def start(self, *, timeout=None, detach=False):
"""
Start this exec instance.
Args:
Expand Down
12 changes: 6 additions & 6 deletions aiodocker/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def pull(
) -> Dict[str, Any]:
pass

@overload # noqa: F811
@overload
def pull(
self,
from_image: str,
Expand All @@ -78,7 +78,7 @@ def pull(
) -> AsyncIterator[Dict[str, Any]]:
pass

def pull( # noqa: F811
def pull(
self,
from_image: str,
*,
Expand Down Expand Up @@ -142,7 +142,7 @@ async def push(
) -> Dict[str, Any]:
pass

@overload # noqa: F811
@overload
def push(
self,
name: str,
Expand All @@ -153,7 +153,7 @@ def push(
) -> AsyncIterator[Dict[str, Any]]:
pass

def push( # noqa: F811
def push(
self,
name: str,
*,
Expand Down Expand Up @@ -252,7 +252,7 @@ async def build(
) -> Dict[str, Any]:
pass

@overload # noqa: F811
@overload
def build(
self,
*,
Expand All @@ -272,7 +272,7 @@ def build(
) -> AsyncIterator[Dict[str, Any]]:
pass

def build( # noqa: F811
def build(
self,
*,
remote: str = None,
Expand Down
2 changes: 1 addition & 1 deletion aiodocker/py.typed
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Marker
Marker
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2 changes: 1 addition & 1 deletion docs/_build/html/_static/alabaster.css
Original file line number Diff line number Diff line change
Expand Up @@ -690,4 +690,4 @@ table.docutils.citation, table.docutils.citation td, table.docutils.citation th
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
}
2 changes: 1 addition & 1 deletion docs/_build/html/_static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -636,4 +636,4 @@ div.math:hover a.headerlink {
#top-link {
display: none;
}
}
}
4 changes: 2 additions & 2 deletions docs/_build/html/_static/doctools.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ var Documentation = {
this.fixFirefoxAnchorBug();
this.highlightSearchWords();
this.initIndexTable();

},

/**
Expand Down Expand Up @@ -284,4 +284,4 @@ _ = Documentation.gettext;

$(document).ready(function() {
Documentation.init();
});
});
2 changes: 1 addition & 1 deletion docs/_build/html/_static/pygments.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@
.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */
.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */
.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */
4 changes: 2 additions & 2 deletions docs/_build/html/_static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/


/* Non-minified version JS is _stemmer.js if file is provided */
/* Non-minified version JS is _stemmer.js if file is provided */
/**
* Porter Stemmer
*/
Expand Down Expand Up @@ -755,4 +755,4 @@ var Search = {

$(document).ready(function() {
Search.init();
});
});
28 changes: 14 additions & 14 deletions docs/_build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="index" title="Index" href="#" />
<link rel="search" title="Search" href="search.html" />

<link rel="stylesheet" href="_static/custom.css" type="text/css" />


<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

</head>
<body>


<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">


<h1 id="index">Index</h1>

<div class="genindex-jumpbox">

</div>


Expand All @@ -70,7 +70,7 @@ <h1 class="logo"><a href="index.html">aiodocker</a></h1>





<p>
<a href="https://travis-ci.org/aio-libs/aiodocker">
Expand All @@ -84,7 +84,7 @@ <h1 class="logo"><a href="index.html">aiodocker</a></h1>





<p>
<a href="https://codecov.io/github/aio-libs/aiodocker">
Expand Down Expand Up @@ -113,19 +113,19 @@ <h3>Quick search</h3>
</div>
<div class="footer">
&copy;2017, Paul Tagliamonte, Joongi Kim.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.6.3</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.10</a>

</div>


<a href="https://github.com/aio-libs/aiodocker" class="github">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/>
</a>





</body>
</html>
</html>
26 changes: 13 additions & 13 deletions docs/_build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />

<link rel="stylesheet" href="_static/custom.css" type="text/css" />


<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

</head>
<body>


<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">

<div class="section" id="aiodocker-asyncio-bindings-for-docker-io">
<h1>aiodocker: AsyncIO bindings for docker.io<a class="headerlink" href="#aiodocker-asyncio-bindings-for-docker-io" title="Permalink to this headline"></a></h1>
<a class="reference external image-reference" href="https://badge.fury.io/py/aiodocker"><img alt="PyPI version" src="https://badge.fury.io/py/aiodocker.svg" /></a>
Expand Down Expand Up @@ -147,7 +147,7 @@ <h1 class="logo"><a href="#">aiodocker</a></h1>





<p>
<a href="https://travis-ci.org/aio-libs/aiodocker">
Expand All @@ -161,7 +161,7 @@ <h1 class="logo"><a href="#">aiodocker</a></h1>





<p>
<a href="https://codecov.io/github/aio-libs/aiodocker">
Expand Down Expand Up @@ -190,22 +190,22 @@ <h3>Quick search</h3>
</div>
<div class="footer">
&copy;2017, Paul Tagliamonte, Joongi Kim.

|
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.6.3</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.10</a>

|
<a href="_sources/index.rst.txt"
rel="nofollow">Page source</a>
</div>


<a href="https://github.com/aio-libs/aiodocker" class="github">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/>
</a>





</body>
</html>
</html>

0 comments on commit 352983b

Please sign in to comment.